Skip to content

Commit 71e6a83

Browse files
committed
Start building against Spring Framework 5.3.17 snapshots
See gh-30177
1 parent 2d1f5d3 commit 71e6a83

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/context/properties/ConfigurationPropertiesReportEndpoint.java

Lines changed: 2 additions & 1 deletion
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-2022 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.
@@ -554,6 +554,7 @@ private String determineAccessorSuffix(String propertyName) {
554554
return StringUtils.capitalize(propertyName);
555555
}
556556

557+
@SuppressWarnings("deprecation")
557558
private Constructor<?> findBindConstructor(Class<?> type) {
558559
boolean classConstructorBinding = MergedAnnotations
559560
.from(type, SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ bom {
16991699
]
17001700
}
17011701
}
1702-
library("Spring Framework", "5.3.16") {
1702+
library("Spring Framework", "5.3.17-SNAPSHOT") {
17031703
group("org.springframework") {
17041704
imports = [
17051705
"spring-framework-bom"

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindConstructorProvider.java

Lines changed: 2 additions & 1 deletion
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-2022 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.
@@ -85,6 +85,7 @@ private boolean isImplicitConstructorBindingType(Class<?> type) {
8585
return (superclass != null) && "java.lang.Record".equals(superclass.getName());
8686
}
8787

88+
@SuppressWarnings("deprecation")
8889
private boolean isConstructorBindingAnnotatedType(Class<?> type) {
8990
return MergedAnnotations.from(type, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)
9091
.isPresent(ConstructorBinding.class);

0 commit comments

Comments
 (0)