ICU-7107 Reverted the method signature to synchronized.

X-SVN-Rev: 26592
This commit is contained in:
Yoshito Umaoka 2009-09-03 19:00:24 +00:00
parent ddd8a50457
commit f8c58d2721

View File

@ -446,7 +446,7 @@ abstract public class TimeZone implements Serializable, Cloneable {
* SHORT, LONG, SHORT_GENERIC, LONG_GENERIC, SHORT_GMT, LONG_GMT,
* SHORT_COMMONLY_USED and GENERIC_LOCATION.
*/
private String _getDisplayName(boolean daylight, int style, ULocale locale) {
private synchronized String _getDisplayName(boolean daylight, int style, ULocale locale) {
if (locale == null) {
throw new NullPointerException("locale is null");
}