Making private options variable final at Sebb's pointing out of thread safety improvement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bdb8ae03b6
commit
c9a918a842
|
@ -31,7 +31,7 @@ public class UnicodeUnescaper extends CharSequenceTranslator {
|
||||||
|
|
||||||
public static enum OPTION { escapePlus };
|
public static enum OPTION { escapePlus };
|
||||||
|
|
||||||
private EnumSet<OPTION> options;
|
private final EnumSet<OPTION> options;
|
||||||
|
|
||||||
public UnicodeUnescaper(OPTION... options) {
|
public UnicodeUnescaper(OPTION... options) {
|
||||||
if(options.length > 0) {
|
if(options.length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue