commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1062599 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java
Date Mon, 24 Jan 2011 01:06:34 GMT
Author: ggregory
Date: Mon Jan 24 01:06:33 2011
New Revision: 1062599

URL: http://svn.apache.org/viewvc?rev=1062599&view=rev
Log:
[CODEC-111] org.apache.commons.codec.net.URLCodec.ESCAPE_CHAR isn't final but should be. https://issues.apache.org/jira/browse/CODEC-111

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=1062599&r1=1062598&r2=1062599&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 Mon Jan
24 01:06:33 2011
@@ -64,9 +64,9 @@ public class URLCodec implements BinaryE
     protected String charset;
     
     /**
-     * Consider this field final. The next major release may break compatibility and make
this field be final.
+     * Release 1.5 made this field final.
      */
-    protected static byte ESCAPE_CHAR = '%';
+    protected static final byte ESCAPE_CHAR = '%';
     /**
      * BitSet of www-form-url safe characters.
      */



Mime
View raw message