You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2011/01/24 02:06:34 UTC
svn commit: r1062599 -
/commons/proper/codec/trunk/src/java/org/apache/commons/codec/net/URLCodec.java
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.
*/