continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r574822 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
Date Wed, 12 Sep 2007 07:36:55 GMT
Author: evenisse
Date: Wed Sep 12 00:36:54 2007
New Revision: 574822

URL: http://svn.apache.org/viewvc?rev=574822&view=rev
Log:
Remove warning

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java?rev=574822&r1=574821&r2=574822&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
Wed Sep 12 00:36:54 2007
@@ -157,8 +157,11 @@
                 groupSummary.setNumFailures( groupSummary.getNumFailures() + 1 );
                 break;
             default:
-                getLogger().warn(
-                    "unknown buildState value " + latestBuild.getState() + " with build "
+ latestBuild.getId() );
+                if ( latestBuild.getState() == 5 || latestBuild.getState() > 10 )
+                {
+                    getLogger().warn(
+                        "unknown buildState value " + latestBuild.getState() + " with build
" + latestBuild.getId() );
+                }
         }
     }
 



Mime
View raw message