Browse Source

Fix ConfigurationPropertyName.equals

Fix a regression in `ConfigurationPropertyName.equals` that was causing
incorrect results.

Closes gh-14665
pull/14661/merge
Phillip Webb 8 years ago
parent
commit
7f35f8a982
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

@ -348,7 +348,7 @@ public final class ConfigurationPropertyName @@ -348,7 +348,7 @@ public final class ConfigurationPropertyName
}
while (i2 < l2) {
char ch2 = e2.charAt(i, i2++);
if (indexed2 || !ElementsParser.isAlphaNumeric(ch2)) {
if (indexed2 || ElementsParser.isAlphaNumeric(ch2)) {
return false;
}
}

Loading…
Cancel
Save