Browse Source

Make Sun coding standards (and Conor) happy :)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272281 13f79535-47bb-0310-9956-ffa450edef68
master
Diane Holt 23 years ago
parent
commit
9b18f927fe
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/main/org/apache/tools/ant/taskdefs/Available.java

+ 5
- 1
src/main/org/apache/tools/ant/taskdefs/Available.java View File

@@ -166,7 +166,11 @@ public class Available extends Task implements Condition {
if (eval()) {
String lSep = System.getProperty("line.separator");
if (null != project.getProperty(property)) {
log("DEPRECATED - <available> used to override an existing property." + lSep + " Build file should not reuse the same property name for different values.");
log("DEPRECATED - <available> used to override an existing"
+ " property."
+ lSep
+ " Build file should not reuse the same property name"
+ " for different values.");
}
this.project.setProperty(property, value);
}


Loading…
Cancel
Save