We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FluentPropertyBeanIntrospector#propertyName
1 parent c0d16f2 commit d8f0cb5Copy full SHA for d8f0cb5
src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java
@@ -20,7 +20,6 @@
20
import java.beans.Introspector;
21
import java.beans.PropertyDescriptor;
22
import java.lang.reflect.Method;
23
-import java.util.Locale;
24
25
import org.apache.commons.logging.Log;
26
import org.apache.commons.logging.LogFactory;
@@ -181,7 +180,6 @@ public void introspect(final IntrospectionContext icontext)
181
180
private String propertyName(final Method m) {
182
final String methodName = m.getName().substring(
183
getWriteMethodPrefix().length());
184
- return methodName.length() > 1 ? Introspector.decapitalize(methodName) : methodName
185
- .toLowerCase(Locale.ROOT);
+ return Introspector.decapitalize(methodName);
186
}
187
0 commit comments