continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r571169 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SummaryAction.java
Date Thu, 30 Aug 2007 13:40:55 GMT
Author: evenisse
Date: Thu Aug 30 06:40:54 2007
New Revision: 571169

URL: http://svn.apache.org/viewvc?rev=571169&view=rev
Log:
Remove unused code

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=571169&r1=571168&r2=571169&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
Thu Aug 30 06:40:54 2007
@@ -160,19 +160,6 @@
                 getLogger().warn(
                     "unknown buildState value " + latestBuild.getState() + " with build "
+ latestBuild.getId() );
         }
-        // to not display -1
-        if ( groupSummary.getNumFailures() < 0 )
-        {
-            groupSummary.setNumFailures( 0 );
-        }
-        if ( groupSummary.getNumErrors() < 0 )
-        {
-            groupSummary.setNumErrors( 0 );
-        }
-        if ( groupSummary.getNumSuccesses() < 0 )
-        {
-            groupSummary.setNumSuccesses( 0 );
-        }
     }
 
     public List getProjects()



Mime
View raw message