This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new c3df48c  Remove unnecessary cast
c3df48c is described below

commit c3df48c917446d94025205376f0dbaf5665d1e16
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Mar 20 09:58:26 2025 -0400

    Remove unnecessary cast
---
 src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java 
b/src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java
index 7aa37cc..9e40bac 100644
--- a/src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java
+++ b/src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java
@@ -141,7 +141,7 @@ public class ClassLoaderUtil {
                 className = className.substring(0, className.length() - 2);
                 classNameBuffer.append("[");
             }
-            final String abbreviation = (String) 
abbreviationMap.get(className);
+            final String abbreviation = abbreviationMap.get(className);
             if (abbreviation != null) {
                 classNameBuffer.append(abbreviation);
             } else {

Reply via email to