We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phil Webb opened SPR-15507 and commented
Someone from the community raised this to me:
The Property class includes the following:
Property
int index = this.writeMethod.getName().indexOf("set") + 3; if (index == -1) { throw new IllegalArgumentException("Not a setter method"); }
Since the index is set with +3 there's no way for the exception to throw.
index
+3
See
spring-framework/spring-core/src/main/java/org/springframework/core/convert/Property.java
Line 146 in 3b8b350
Affects: 4.3.8
Referenced from: commits 817e80c, aa8cf19
The text was updated successfully, but these errors were encountered:
jhoeller
No branches or pull requests
Phil Webb opened SPR-15507 and commented
Someone from the community raised this to me:
The
Property
class includes the following:Since the
index
is set with+3
there's no way for the exception to throw.See
spring-framework/spring-core/src/main/java/org/springframework/core/convert/Property.java
Line 146 in 3b8b350
Affects: 4.3.8
Referenced from: commits 817e80c, aa8cf19
The text was updated successfully, but these errors were encountered: