Skip to content

Commit 2620710

Browse files
committed
Start building against Spring Framework 5.3.17 snapshots
See gh-30170
1 parent d14d0c3 commit 2620710

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.
@@ -489,6 +489,7 @@ private String determineAccessorSuffix(String propertyName) {
489489
return StringUtils.capitalize(propertyName);
490490
}
491491

492+
@SuppressWarnings("deprecation")
492493
private Constructor<?> findBindConstructor(Class<?> type) {
493494
boolean classConstructorBinding = MergedAnnotations
494495
.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
@@ -1715,7 +1715,7 @@ bom {
17151715
]
17161716
}
17171717
}
1718-
library("Spring Framework", "5.3.16") {
1718+
library("Spring Framework", "5.3.17-SNAPSHOT") {
17191719
group("org.springframework") {
17201720
imports = [
17211721
"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-2020 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.
@@ -76,6 +76,7 @@ private Constructor<?> findAnnotatedConstructor(Class<?> type, Constructor<?>...
7676
return constructor;
7777
}
7878

79+
@SuppressWarnings("deprecation")
7980
private boolean isConstructorBindingAnnotatedType(Class<?> type) {
8081
return MergedAnnotations.from(type, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)
8182
.isPresent(ConstructorBinding.class);

0 commit comments

Comments
 (0)