tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1807715 - /tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
Date Fri, 08 Sep 2017 11:15:23 GMT
Author: markt
Date: Fri Sep  8 11:15:22 2017
New Revision: 1807715

URL: http://svn.apache.org/viewvc?rev=1807715&view=rev
Log:
Remove unused code reported by Findbugs

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java?rev=1807715&r1=1807714&r2=1807715&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java Fri Sep  8 11:15:22
2017
@@ -43,12 +43,6 @@ public abstract class BaseNCodec {
         int ibitWorkArea;
 
         /**
-         * Place holder for the bytes we're dealing with for our based logic.
-         * Bitwise operations store and extract the encoding or decoding from this variable.
-         */
-        long lbitWorkArea;
-
-        /**
          * Buffer for streaming.
          */
         byte[] buffer;
@@ -93,10 +87,10 @@ public abstract class BaseNCodec {
         @Override
         public String toString() {
             return String.format("%s[buffer=%s, currentLinePos=%s, eof=%s, " +
-                    "ibitWorkArea=%s, lbitWorkArea=%s, modulus=%s, pos=%s, " +
+                    "ibitWorkArea=%s, modulus=%s, pos=%s, " +
                     "readPos=%s]", this.getClass().getSimpleName(),
                     HexUtils.toHexString(buffer), currentLinePos, eof,
-                    ibitWorkArea, lbitWorkArea, modulus, pos, readPos);
+                    ibitWorkArea, modulus, pos, readPos);
         }
     }
 



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


Mime
View raw message