Author: ggregory
Date: Wed Jul 27 18:28:47 2011
New Revision: 1151583
URL: http://svn.apache.org/viewvc?rev=1151583&view=rev
Log:
[CODEC-126] Make org.apache.commons.codec.net.URLCodec charset field 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=1151583&r1=1151582&r2=1151583&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 27 18:28:47 2011
@@ -58,10 +58,9 @@ public class URLCodec implements BinaryE
static final int RADIX = 16;
/**
- * 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.
+ * The default charset used for string decoding and encoding.
*/
- protected String charset;
+ protected final String charset;
/**
* Release 1.5 made this field final.