Browse Source

Bugzilla: 41594 copy setnewproperty sanity protection to setproperty

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@506547 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
15789b09bb
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/PropertyHelper.java

+ 3
- 1
src/main/org/apache/tools/ant/PropertyHelper.java View File

@@ -327,7 +327,9 @@ public class PropertyHelper {
project.log("Setting project property: " + name + " -> "
+ value, Project.MSG_DEBUG);
}
properties.put(name, value);
if (name != null && value != null) {
properties.put(name, value);
}
return true;
}



Loading…
Cancel
Save