Revision: 9698
Author: cromwell...@google.com
Date: Tue Feb  8 11:49:32 2011
Log: Fixes checkstyle error

http://code.google.com/p/google-web-toolkit/source/detail?r=9698

Modified:
 /trunk/dev/core/src/com/google/gwt/dev/js/JsStringInterner.java

=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/js/JsStringInterner.java Tue Feb 8 08:49:23 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/js/JsStringInterner.java Tue Feb 8 11:49:32 2011
@@ -131,6 +131,12 @@
    * on the fly.
    */
   private static class StringVisitor extends JsModVisitor {
+    /*
+     * Minimum number of times a string must occur to be interned.
+     */
+    private static final Integer INTERN_THRESHOLD = Integer.parseInt(
+        System.getProperty("gwt.jjs.stringInternerThreshold", "2"));
+
     /**
      * The current fragment being visited.
      */
@@ -143,12 +149,6 @@
private final SortedMap<JsStringLiteral, Integer> fragmentAssignment = new TreeMap<JsStringLiteral, Integer>(
         LITERAL_COMPARATOR);

-    /**
-     * Minimum number of times a string must occur to be interned.
-     */
-    private static final Integer INTERN_THRESHOLD = Integer.parseInt(
-        System.getProperty("gwt.jjs.stringInternerThreshold", "2"));
-
     /**
* A counter used for assigning ids to Strings. Even though it's unlikely
      * that someone would actually have two billion strings in their
@@ -158,7 +158,7 @@

     /**
      * Count of # of occurences of each String literal, or null if
-     * count-sensitive interning is off
+     * count-sensitive interning is off.
      */
     private Map<String, Integer> occurenceMap;

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

Reply via email to