commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r794341 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java
Date Wed, 15 Jul 2009 18:14:35 GMT
Author: ggregory
Date: Wed Jul 15 18:14:35 2009
New Revision: 794341

URL: http://svn.apache.org/viewvc?rev=794341&view=rev
Log:
Fix Clirr issues. The next major release may break compatibility and make the changed fields
final.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java?rev=794341&r1=794340&r2=794341&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java Wed Jul
15 18:14:35 2009
@@ -51,11 +51,15 @@
 public class URLCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDecoder
{
     
     /**
-     * The default charset used for string decoding and encoding.
+     * The default charset used for string decoding and encoding. Consider this field final.
The next major release may
+     * break compatibility and make this field be final.
      */
-    protected final String charset;
+    protected String charset;
     
-    protected static final byte ESCAPE_CHAR = '%';
+    /**
+     * Consider this field final. The next major release may break compatibility and make
this field be final.
+     */
+    protected static byte ESCAPE_CHAR = '%';
     /**
      * BitSet of www-form-url safe characters.
      */



Mime
View raw message