ICU-5405 forgot to update nameCacheRef initialization in the previous fix

X-SVN-Rev: 20378
This commit is contained in:
Yoshito Umaoka 2006-09-21 18:50:12 +00:00
parent ec2dd31072
commit 878a3802d4

View File

@ -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.