ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r526544 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
Date Sun, 08 Apr 2007 12:07:27 GMT
Author: jkf
Date: Sun Apr  8 05:07:26 2007
New Revision: 526544

URL: http://svn.apache.org/viewvc?view=rev&rev=526544
Log:
Changes after static code analysis.
Code changed.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java?view=diff&rev=526544&r1=526543&r2=526544
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
Sun Apr  8 05:07:26 2007
@@ -476,7 +476,7 @@
                 final Specification other = (Specification) iterator.next();
                 if (isEqual(specification, other)) {
                     final String[] otherSections = other.getSections();
-                    if (null != sections) {
+                    if (null != otherSections) {
                         sections.addAll(Arrays.asList(otherSections));
                     }
                     iterator.remove();



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


Mime
View raw message