ICU-5405 forgot to update nameCacheRef initialization in the previous fix
X-SVN-Rev: 20378
This commit is contained in:
parent
ec2dd31072
commit
878a3802d4
@ -1135,7 +1135,7 @@ public final class ULocale implements Serializable {
|
||||
}
|
||||
return name;
|
||||
}
|
||||
private static SoftReference nameCacheRef = new SoftReference(new HashMap());
|
||||
private static SoftReference nameCacheRef = new SoftReference(Collections.synchronizedMap(new HashMap()));
|
||||
|
||||
/**
|
||||
* Returns a string representation of this object.
|
||||
|
Loading…
Reference in New Issue
Block a user