Revision: 9663
Author: to...@google.com
Date: Tue Feb  1 13:54:46 2011
Log: Speed up DevMode by getting rid of excessive JS to Java calls.

Review at http://gwt-code-reviews.appspot.com/1337801

Review by: zun...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9663

Modified:
 /trunk/user/src/com/google/gwt/i18n/client/Dictionary.java

=======================================
--- /trunk/user/src/com/google/gwt/i18n/client/Dictionary.java Thu Mar 11 11:04:12 2010 +++ /trunk/user/src/com/google/gwt/i18n/client/Dictionary.java Tue Feb 1 13:54:46 2011
@@ -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