Skip to content

Commit e481ecc

Browse files
committed
Merge branch '2.1.x'
Closes gh-17006
2 parents 960c03d + 0b5bb6e commit e481ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ public void bindToClassShouldCacheWithGenerics() {
513513
assertThat(bean.getBooleans().get("b").getValue()).isEqualTo(true);
514514
}
515515

516+
@Test
516517
public void bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField() {
517518
// gh-16206
518519
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
@@ -524,9 +525,8 @@ public void bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField() {
524525
}
525526

526527
@Test
527-
public void beanProperiesPreferMatchingType() {
528+
public void beanPropertiesPreferMatchingType() {
528529
// gh-16206
529-
530530
ResolvableType type = ResolvableType.forClass(PropertyWithOverloadedSetter.class);
531531
Bean<PropertyWithOverloadedSetter> bean = new Bean<PropertyWithOverloadedSetter>(
532532
type, type.resolve()) {

0 commit comments

Comments
 (0)