From 7b164713f3ef0b01fda7a423b8c236401a9c8af6 Mon Sep 17 00:00:00 2001 From: Mark Davis Date: Wed, 18 Sep 2013 13:41:49 +0000 Subject: [PATCH] ICU-10383 fix synchronization per Andy. X-SVN-Rev: 34370 --- .../classes/core/src/com/ibm/icu/text/GeneralMeasureFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/GeneralMeasureFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/GeneralMeasureFormat.java index 8855ec87a3..757721b49e 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/GeneralMeasureFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/GeneralMeasureFormat.java @@ -351,7 +351,7 @@ public class GeneralMeasureFormat extends MeasureFormat { } bs.set(unitIndex); } - public static ParseData of(ULocale locale, + public static synchronized ParseData of(ULocale locale, Map>> unitToStyleToCountToFormat) { ParseData result = localeToParseData.get(locale); if (result == null) {