mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 18:41:37 +00:00
Merge pull request #17005 from izeye
* pr/17005: Handle all getters first in JavaBeanBinder Closes gh-17005
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user