Author: [email protected]
Date: Fri Mar 20 07:00:40 2009
New Revision: 5064

Modified:
     
trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java

Log:
Reduce the log level of type invalidation messages when a compilation unit  
depends on an invalid unit.

Patch by: bobv
Review by: scott (IM)


Modified:  
trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java
==============================================================================
---  
trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java     
 
(original)
+++  
trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java     
 
Fri Mar 20 07:00:40 2009
@@ -179,7 +179,7 @@
          for (String ref : currentlyValidUnitToCheck.getFileNameRefs()) {
            if (!knownValidRefs.contains(ref)) {
              if (branch == null) {
-              branch = logger.branch(TreeLogger.WARN, "Compilation unit '"
+              branch = logger.branch(TreeLogger.DEBUG, "Compilation unit '"
                    + currentlyValidUnitToCheck
                    + "' is removed due to invalid reference(s):");
                it.remove();
@@ -187,7 +187,7 @@
                currentlyValidUnitToCheck.setFresh();
                changed = true;
              }
-            branch.log(TreeLogger.WARN, ref);
+            branch.log(TreeLogger.DEBUG, ref);
            }
          }
        }

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

Reply via email to