ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r557221 - /ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java
Date Wed, 18 Jul 2007 10:47:13 GMT
Author: peterreilly
Date: Wed Jul 18 03:47:12 2007
New Revision: 557221

URL: http://svn.apache.org/viewvc?view=rev&rev=557221
Log:
checkstyle

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java?view=diff&rev=557221&r1=557220&r2=557221
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/DefaultLogger.java Wed Jul 18 03:47:12 2007
@@ -359,6 +359,6 @@
      */
     protected String extractProjectName(BuildEvent event) {
         Project project = event.getProject();
-        return project!=null?project.getName():null;
+        return (project != null) ? project.getName() : null;
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message