Revision: 10251
Author:   [email protected]
Date:     Tue May 31 08:05:59 2011
Log:      cleanups to soyc HTML report generation code.

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

Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=10251

Modified:
 /trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java

=======================================
--- /trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java Tue May 31 04:59:43 2011 +++ /trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java Tue May 31 08:05:59 2011
@@ -54,6 +54,7 @@
    * dependencies for the initial download.
    */
   public class DependencyLinkerForInitialCode implements DependencyLinker {
+    @Override
     public String dependencyLinkForClass(String className) {
String packageName = globalInformation.getClassToPackage().get(className);
       assert packageName != null;
@@ -66,6 +67,7 @@
    * status pages.
    */
public class DependencyLinkerForLeftoversFragment implements DependencyLinker {
+    @Override
     public String dependencyLinkForClass(String className) {
       return leftoversStatusFileName() + "#"
           + hashedFilenameFragment(className);
@@ -78,6 +80,7 @@
    *
    */
public class DependencyLinkerForTotalBreakdown implements DependencyLinker {
+    @Override
     public String dependencyLinkForClass(String className) {
return splitStatusFileName() + "#" + hashedFilenameFragment(className);
     }
@@ -87,6 +90,7 @@
    * A dependency linker that never links to anything.
    */
   public static class NullDependencyLinker implements DependencyLinker {
+    @Override
     public String dependencyLinkForClass(String className) {
       return null;
     }
@@ -139,9 +143,9 @@

     /**
* Stores a string for later interning. Keeps track of the number of times a - * particular string is interned which will be used by {@link freeze()} to + * particular string is interned which will be used by {@link #freeze()} to
      * place the most frequently used strings at the beginning of the
- * dictionary. After a call to {@link freeze()}, it is no longer valid to + * dictionary. After a call to {@link #freeze()}, it is no longer valid to
      * call this method.
      *
      * @param key string to be added to the intern dictionary.
@@ -1705,7 +1709,6 @@

     // Write out the HTML
     outFile.print("<script>");
-    boolean first = true;
     for (String method : classesInSplitPoint) {
       // this key set is already in alphabetical order
       // get the package of this method, i.e., everything up to .[A-Z]

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

Reply via email to