Author: remy.maucherat(a)jboss.com
Date: 2008-03-26 23:04:12 -0400 (Wed, 26 Mar 2008)
New Revision: 557
Modified:
trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
Log:
- Trivial code cleanup.
Modified: trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
===================================================================
--- trunk/java/org/apache/tomcat/util/buf/B2CConverter.java 2008-03-27 03:03:37 UTC (rev
556)
+++ trunk/java/org/apache/tomcat/util/buf/B2CConverter.java 2008-03-27 03:04:12 UTC (rev
557)
@@ -32,10 +32,9 @@
*/
public class B2CConverter {
- private static org.jboss.logging.Logger log =
+ protected static org.jboss.logging.Logger log =
org.jboss.logging.Logger.getLogger(B2CConverter.class);
- protected String charset = null;
protected CharsetDecoder decoder = null;
protected ByteBuffer bb = null;
protected CharBuffer cb = null;
@@ -50,7 +49,6 @@
*/
public B2CConverter(String charset) {
decoder = Charset.forName(charset).newDecoder();
- this.charset = charset;
byte[] left = new byte[4];
leftovers = ByteBuffer.wrap(left);
}
Show replies by date