You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/02/19 18:10:42 UTC
svn commit: r1447818 -
/tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
Author: markt
Date: Tue Feb 19 17:10:42 2013
New Revision: 1447818
URL: http://svn.apache.org/r1447818
Log:
UCDetector
- use final
- reduce visibility
Modified:
tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java?rev=1447818&r1=1447817&r2=1447818&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java Tue Feb 19 17:10:42 2013
@@ -90,28 +90,14 @@ public class B2CConverter {
return charset;
}
- /**
- * @deprecated Will be made private in Tomcat 8.0.x
- */
- @Deprecated
- protected CharsetDecoder decoder = null;
- /**
- * @deprecated Will be made private in Tomcat 8.0.x
- */
- @Deprecated
- protected ByteBuffer bb = null;
- /**
- * @deprecated Will be made private in Tomcat 8.0.x
- */
- @Deprecated
- protected CharBuffer cb = null;
+ private final CharsetDecoder decoder;
+ private ByteBuffer bb = null;
+ private CharBuffer cb = null;
/**
* Leftover buffer used for incomplete characters.
- * @deprecated Will be made private in Tomcat 8.0.x
*/
- @Deprecated
- protected ByteBuffer leftovers = null;
+ private final ByteBuffer leftovers;
public B2CConverter(String encoding) throws IOException {
byte[] left = new byte[4];
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org