CurrencyListGenerator was iterating over a HashMap, causing inconsisent results.
Replaced with a TreeMap.
Review by: spoon
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5148 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java b/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
index f5ac2cb..64fc211 100644
--- a/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
+++ b/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
@@ -41,6 +41,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
+import java.util.TreeMap;
import java.util.Map.Entry;
/**
@@ -314,7 +315,7 @@
writer.println(" return;");
writer.println("}");
boolean fetchedLocale = false;
- Map<String, Set<GwtLocale>> localeMap = new HashMap<String,
+ Map<String, Set<GwtLocale>> localeMap = new TreeMap<String,
Set<GwtLocale>>();
String compileLocaleClass = processChildLocale(logger, context,
targetClass, localeMap, compileLocale);