Skip to content

Commit 5d6a507

Browse files
committed
Merge branch '3.0.x' into 3.1.x
2 parents e8301a0 + 48e13af commit 5d6a507

File tree

9 files changed

+34
-8
lines changed

9 files changed

+34
-8
lines changed

Diff for: buildSrc/src/main/java/org/springframework/boot/build/classpath/CheckClasspathForUnconstrainedDirectDependencies.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 the original author or authors.
2+
* Copyright 2023-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: buildSrc/src/test/java/org/springframework/boot/build/bom/bomr/version/ArtifactVersionDependencyVersionTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/EndpointCloudFoundryExtension.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LoggersEndpoint.java

+26
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ public static class LoggersDescriptor implements OperationResponseBody {
137137

138138
private final Map<String, GroupLoggerLevelsDescriptor> groups;
139139

140+
/**
141+
* Create a new {@link LoggersDescriptor} instance.
142+
* @param levels the levels
143+
* @param loggers the loggers
144+
* @param groups the groups
145+
*/
146+
@Deprecated(since = "3.2.0", forRemoval = true)
140147
public LoggersDescriptor(NavigableSet<LogLevel> levels, Map<String, LoggerLevelsDescriptor> loggers,
141148
Map<String, GroupLoggerLevelsDescriptor> groups) {
142149
this.levels = levels;
@@ -165,6 +172,11 @@ public static class LoggerLevelsDescriptor implements OperationResponseBody {
165172

166173
private final String configuredLevel;
167174

175+
/**
176+
* Create a new {@link LoggerLevelsDescriptor} instance.
177+
* @param configuredLevel the configured level
178+
*/
179+
@Deprecated(since = "3.2.0", forRemoval = true)
168180
public LoggerLevelsDescriptor(LogLevel configuredLevel) {
169181
this.configuredLevel = (configuredLevel != null) ? configuredLevel.name() : null;
170182
}
@@ -173,6 +185,11 @@ public LoggerLevelsDescriptor(LogLevel configuredLevel) {
173185
this.configuredLevel = (directConfiguration != null) ? directConfiguration.getName() : null;
174186
}
175187

188+
/**
189+
* @param level
190+
* @return
191+
*/
192+
@Deprecated(since = "3.2.0", forRemoval = true)
176193
protected final String getName(LogLevel level) {
177194
return (level != null) ? level.name() : null;
178195
}
@@ -190,6 +207,11 @@ public static class GroupLoggerLevelsDescriptor extends LoggerLevelsDescriptor {
190207

191208
private final List<String> members;
192209

210+
/**
211+
* @param configuredLevel
212+
* @param members
213+
*/
214+
@Deprecated(since = "3.2.0", forRemoval = true)
193215
public GroupLoggerLevelsDescriptor(LogLevel configuredLevel, List<String> members) {
194216
super(configuredLevel);
195217
this.members = members;
@@ -208,6 +230,10 @@ public static class SingleLoggerLevelsDescriptor extends LoggerLevelsDescriptor
208230

209231
private final String effectiveLevel;
210232

233+
/**
234+
* @param configuration
235+
*/
236+
@Deprecated(since = "3.2.0", forRemoval = true)
211237
public SingleLoggerLevelsDescriptor(LoggerConfiguration configuration) {
212238
super(configuration.getLevelConfiguration(ConfigurationScope.DIRECT));
213239
this.effectiveLevel = configuration.getLevelConfiguration().getName();

Diff for: spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/exchanges/InMemoryHttpExchangeRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/HikariDriverConfigurationFailureAnalyzer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/security/oauth2/client/MyOAuthClientConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoArgumentsException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileModel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)