Skip to content

Commit c3df48c

Browse files
committed
Remove unnecessary cast
1 parent e0a4be6 commit c3df48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static String toCanonicalName(String className) {
141141
className = className.substring(0, className.length() - 2);
142142
classNameBuffer.append("[");
143143
}
144-
final String abbreviation = (String) abbreviationMap.get(className);
144+
final String abbreviation = abbreviationMap.get(className);
145145
if (abbreviation != null) {
146146
classNameBuffer.append(abbreviation);
147147
} else {

0 commit comments

Comments
 (0)