Merge branch '2.1.x'

Closes gh-17016
This commit is contained in:
Phillip Webb
2019-05-29 14:36:34 -07:00

View File

@@ -133,9 +133,9 @@ class JavaBeanBinder implements BeanBinder {
}
for (Method method : declaredMethods) {
addMethodIfPossible(method, "get", 0, BeanProperty::addGetter);
addMethodIfPossible(method, "is", 0, BeanProperty::addGetter);
}
for (Method method : declaredMethods) {
addMethodIfPossible(method, "is", 0, BeanProperty::addGetter);
addMethodIfPossible(method, "set", 1, BeanProperty::addSetter);
}
for (Field field : declaredFields) {