incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1400420 - /incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java
Date Sat, 20 Oct 2012 11:12:00 GMT
Author: jlboudart
Date: Sat Oct 20 11:12:00 2012
New Revision: 1400420

URL: http://svn.apache.org/viewvc?rev=1400420&view=rev
Log:
Fix java 5 compatibility

Modified:
    incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java

Modified: incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java?rev=1400420&r1=1400419&r2=1400420&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java (original)
+++ incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java Sat
Oct 20 11:12:00 2012
@@ -199,7 +199,7 @@ public class SubModule extends Task {
             String targetsToRun = filterTargets(subModule);
             printExecutingTargetMsg(subModule);
 
-            if (targetsToRun != null && !targetsToRun.isEmpty()) {
+            if (targetsToRun != null && !"".equals(targetsToRun.trim())) {
                 subModule.setNewProperty(EasyAntMagicNames.PROJECT_EXECUTED_TARGETS, targetsToRun);
                 subModule.executeTargets(new TargetList(targetsToRun));
                 if (useBuildRepository) {



Mime
View raw message