Reviewers: jat,

Description:
Speed up DevMode by getting rid of excessive JS to Java calls.


Please review this at http://gwt-code-reviews.appspot.com/1337801/show

Affected files:
  M user/src/com/google/gwt/i18n/client/Dictionary.java


Index: user/src/com/google/gwt/i18n/client/Dictionary.java
===================================================================
--- user/src/com/google/gwt/i18n/client/Dictionary.java (revision 9642)
+++ user/src/com/google/gwt/i18n/client/Dictionary.java (working copy)
@@ -175,11 +175,7 @@
   }

   void resourceError(String key) {
-    Collection<String> s = this.keySet();
     String error = "Cannot find '" + key + "' in " + this;
-    if (s.size() < MAX_KEYS_TO_SHOW) {
-      error += "\n keys found: " + s;
-    }
     throw new MissingResourceException(error, this.toString(), key);
   }



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

Reply via email to