Skip to content

Commit b40cb99

Browse files
committed
Fix Clirr issues. The next major release may break compatibility and make the changed fields final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@794341 13f79535-47bb-0310-9956-ffa450edef68
1 parent bbd8c70 commit b40cb99

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/java/org/apache/commons/codec/net/URLCodec.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@
5151
public class URLCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDecoder {
5252

5353
/**
54-
* The default charset used for string decoding and encoding.
54+
* The default charset used for string decoding and encoding. Consider this field final. The next major release may
55+
* break compatibility and make this field be final.
5556
*/
56-
protected final String charset;
57+
protected String charset;
5758

58-
protected static final byte ESCAPE_CHAR = '%';
59+
/**
60+
* Consider this field final. The next major release may break compatibility and make this field be final.
61+
*/
62+
protected static byte ESCAPE_CHAR = '%';
5963
/**
6064
* BitSet of www-form-url safe characters.
6165
*/

0 commit comments

Comments
 (0)