continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r787653 - /continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
Date Tue, 23 Jun 2009 12:07:35 GMT
Author: evenisse
Date: Tue Jun 23 12:07:35 2009
New Revision: 787653

URL: http://svn.apache.org/viewvc?rev=787653&view=rev
Log:
Test debug log level

Modified:
    continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java

Modified: continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java?rev=787653&r1=787652&r2=787653&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
(original)
+++ continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
Tue Jun 23 12:07:35 2009
@@ -60,7 +60,10 @@
 
             if ( isAuthorized( projectGroup.getName() ) )
             {
-                logger.debug( "GroupSummaryAction: building group " + projectGroup.getName()
);
+                if ( logger.isDebugEnabled() )
+                {
+                    logger.debug( "GroupSummaryAction: building group " + projectGroup.getName()
);
+                }
 
                 GroupSummary groupModel = new GroupSummary();
                 groupModel.setId( projectGroup.getId() );
@@ -81,7 +84,10 @@
                 //todo wire in the next scheduled build for the project group and a meaningful
status message
                 //groupModel.setNextScheduledBuild( "unknown" );
                 //groupModel.setStatusMessage( "none" );
-                logger.debug( "GroupSummaryAction: adding group to groups list " + groupModel.getName()
);
+                if ( logger.isDebugEnabled() )
+                {
+                    logger.debug( "GroupSummaryAction: adding group to groups list " + groupModel.getName()
);
+                }
                 groups.add( groupModel );
             }
         }



Mime
View raw message