commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1142286 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
Date Sat, 02 Jul 2011 19:53:13 GMT
Author: simonetripodi
Date: Sat Jul  2 19:53:12 2011
New Revision: 1142286

URL: http://svn.apache.org/viewvc?rev=1142286&view=rev
Log:
removed unused longKey variable

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java?rev=1142286&r1=1142285&r2=1142286&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java
Sat Jul  2 19:53:12 2011
@@ -292,7 +292,6 @@ public class ExtendedBaseRules
         // we have to go through for all those universal rules in all cases.
 
         // Find the longest key, ie more discriminant
-        String longKey = "";
         int longKeyLength = 0;
 
         for ( String key : this.cache.keySet() )
@@ -406,7 +405,6 @@ public class ExtendedBaseRules
                             if ( keyLength > longKeyLength )
                             {
                                 rulesList = this.cache.get( key );
-                                longKey = key;
                                 longKeyLength = keyLength;
                             }
                         }



Mime
View raw message