Author: markt
Date: Tue Jun 12 11:26:51 2012
New Revision: 1349263

URL: http://svn.apache.org/viewvc?rev=1349263&view=rev
Log:
Remove unused code (FindBugs)

Modified:
    tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java
    tomcat/trunk/java/org/apache/tomcat/spdy/NetSupportOpenSSL.java

Modified: tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java?rev=1349263&r1=1349262&r2=1349263&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/RealmBase.java Tue Jun 12 
11:26:51 2012
@@ -1200,7 +1200,7 @@ public abstract class RealmBase extends 
             throw new IllegalArgumentException(uee.getMessage());
         }
 
-        byte[] digest = null;
+        byte[] digest;
         // Bugzilla 32137
         synchronized(md5Helper) {
             digest = md5Helper.digest(valueBytes);

Modified: tomcat/trunk/java/org/apache/tomcat/spdy/NetSupportOpenSSL.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/spdy/NetSupportOpenSSL.java?rev=1349263&r1=1349262&r2=1349263&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/spdy/NetSupportOpenSSL.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/spdy/NetSupportOpenSSL.java Tue Jun 12 
11:26:51 2012
@@ -203,8 +203,6 @@ public class NetSupportOpenSSL extends S
             if (rd < 0) {
                 return -1;
             }
-            off += rd;
-            len -= rd;
             return rd;
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to