Author: sco...@google.com
Date: Tue Mar 31 09:36:49 2009
New Revision: 5117

Modified:
     
changes/scottb/memory/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java

Log:
CurrencyListGenerator iteration over HashMap fix.

Modified:  
changes/scottb/memory/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
==============================================================================
---  
changes/scottb/memory/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
     
(original)
+++  
changes/scottb/memory/user/src/com/google/gwt/i18n/rebind/CurrencyListGenerator.java
     
Tue Mar 31 09:36:49 2009
@@ -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);

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to