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.
1 parent d69068a commit 7645537Copy full SHA for 7645537
src/main/java/org/apache/commons/lang3/ClassUtils.java
@@ -504,7 +504,7 @@ private static String getCanonicalName(final String name) {
504
}
505
className = className.substring(1, className.length() - 1);
506
} else if (className.length() == 1) {
507
- String primitive = REVERSE_ABBREVIATION_MAP.get(className.substring(0, 1));
+ final String primitive = REVERSE_ABBREVIATION_MAP.get(className.substring(0, 1));
508
if (primitive == null) {
509
throw new IllegalArgumentException(String.format("Invalid class name %s", name));
510
0 commit comments