Relax the method search algorithm used by `ReflectivePropertyAccessor`
to include methods of the form `getXY()` for properties of the form
`xy`.
Although the JavaBean specification indicates that a property `xy`
should use the accessors `getxY()` and `setxY()`, in practice many
developers choose to have an uppercase first character. The
`ReflectivePropertyAccessor` will now consider these style methods if
the traditional conventions fail to find a match.
Issue: SPR-10716
@ -318,42 +318,34 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@@ -318,42 +318,34 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@ -370,13 +362,29 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@@ -370,13 +362,29 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@ -335,6 +335,12 @@ public class ReflectionHelperTests extends ExpressionTestCase {
@@ -335,6 +335,12 @@ public class ReflectionHelperTests extends ExpressionTestCase {
@ -429,6 +435,8 @@ public class ReflectionHelperTests extends ExpressionTestCase {
@@ -429,6 +435,8 @@ public class ReflectionHelperTests extends ExpressionTestCase {
@ -445,6 +453,10 @@ public class ReflectionHelperTests extends ExpressionTestCase {
@@ -445,6 +453,10 @@ public class ReflectionHelperTests extends ExpressionTestCase {