Start building against Spring Framework 5.3.17 snapshots

See gh-30170
This commit is contained in:
Stephane Nicoll
2022-03-11 17:09:21 +01:00
parent d14d0c3f04
commit 2620710480
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -489,6 +489,7 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
return StringUtils.capitalize(propertyName);
}
@SuppressWarnings("deprecation")
private Constructor<?> findBindConstructor(Class<?> type) {
boolean classConstructorBinding = MergedAnnotations
.from(type, SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)

View File

@@ -1715,7 +1715,7 @@ bom {
]
}
}
library("Spring Framework", "5.3.16") {
library("Spring Framework", "5.3.17-SNAPSHOT") {
group("org.springframework") {
imports = [
"spring-framework-bom"

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -76,6 +76,7 @@ class ConfigurationPropertiesBindConstructorProvider implements BindConstructorP
return constructor;
}
@SuppressWarnings("deprecation")
private boolean isConstructorBindingAnnotatedType(Class<?> type) {
return MergedAnnotations.from(type, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)
.isPresent(ConstructorBinding.class);