Skip to content

Commit 46150ba

Browse files
committed
Merge branch '3.3.x'
Closes gh-41858
2 parents cc3e62d + 2a84fe5 commit 46150ba

File tree

98 files changed

+141
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+141
-44
lines changed

buildSrc/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
javaFormatVersion=0.0.41
1+
javaFormatVersion=0.0.43

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class PrometheusProperties {
5454

5555
/**
5656
* Histogram type for backing DistributionSummary and Timer.
57+
* @deprecated since 3.3.0 for removal in 3.5.0
5758
*/
5859
@Deprecated(since = "3.3.0", forRemoval = true)
5960
private HistogramFlavor histogramFlavor = HistogramFlavor.Prometheus;
@@ -230,7 +231,7 @@ public void setShutdownOperation(ShutdownOperation shutdownOperation) {
230231
@Deprecated(since = "3.3.0", forRemoval = true)
231232
public enum HistogramFlavor {
232233

233-
Prometheus, VictoriaMetrics;
234+
Prometheus, VictoriaMetrics
234235

235236
}
236237

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/zipkin/ZipkinRestTemplateSender.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
*
3232
* @author Moritz Halbritter
3333
* @author Stefan Bratanov
34+
* @deprecated since 3.3.0 for removal in 3.5.0 in favor of {@link ZipkinHttpClientSender}
3435
*/
3536
@Deprecated(since = "3.3.0", forRemoval = true)
3637
class ZipkinRestTemplateSender extends HttpSender {

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/zipkin/ZipkinWebClientSender.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
*
3131
* @author Stefan Bratanov
3232
* @author Moritz Halbritter
33+
* @deprecated since 3.3.0 for removal in 3.5.0 in favor of {@link ZipkinHttpClientSender}
3334
*/
3435
@Deprecated(since = "3.3.0", forRemoval = true)
3536
class ZipkinWebClientSender extends HttpSender {

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/logging/opentelemetry/otlp/OtlpLoggingAutoConfigurationIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*
4646
* @author Toshiaki Maki
4747
*/
48-
public class OtlpLoggingAutoConfigurationIntegrationTests {
48+
class OtlpLoggingAutoConfigurationIntegrationTests {
4949

5050
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
5151
.withPropertyValues("spring.application.name=otlp-logs-test",

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/jersey/JerseyWebEndpointIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
* @author Andy Wilkinson
6363
* @see JerseyEndpointResourceFactory
6464
*/
65-
public class JerseyWebEndpointIntegrationTests
65+
class JerseyWebEndpointIntegrationTests
6666
extends AbstractWebEndpointIntegrationTests<AnnotationConfigServletWebServerApplicationContext> {
6767

68-
public JerseyWebEndpointIntegrationTests() {
68+
JerseyWebEndpointIntegrationTests() {
6969
super(JerseyWebEndpointIntegrationTests::createApplicationContext,
7070
JerseyWebEndpointIntegrationTests::applyAuthenticatedConfiguration);
7171
}

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ public static class Tomcat {
491491

492492
/**
493493
* Whether to reject requests with illegal header names or values.
494+
* @deprecated since 2.7.12 for removal in 3.3.0
494495
*/
495496
@Deprecated(since = "2.7.12", forRemoval = true) // Remove in 3.3
496497
private boolean rejectIllegalHeader = true;

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jooq/JooqExceptionTranslatorTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
* Tests for {@link JooqExceptionTranslator}
4040
*
4141
* @author Andy Wilkinson
42+
* @deprecated since 3.3.0 for removal in 3.5.0
4243
*/
4344
@Deprecated(since = "3.3.0")
4445
@SuppressWarnings("removal")

spring-boot-project/spring-boot-test-autoconfigure/src/dockerTest/java/org/springframework/boot/test/autoconfigure/data/ldap/DataLdapTestDockerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*/
4343
@DataLdapTest
4444
@Testcontainers(disabledWithoutDocker = true)
45-
public class DataLdapTestDockerTests {
45+
class DataLdapTestDockerTests {
4646

4747
@Container
4848
@ServiceConnection

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/mock/mockito/Definition.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*
2424
* @author Phillip Webb
2525
* @see DefinitionsParser
26+
* @deprecated since 3.4.0 for removal in 3.6.0
2627
*/
2728
@SuppressWarnings("removal")
2829
@Deprecated(since = "3.4.0", forRemoval = true)

0 commit comments

Comments
 (0)