diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java b/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java index a03d75c96..d4a59145c 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java @@ -15,7 +15,6 @@ * limitations under the License. * */ - package org.apache.tools.ant.taskdefs.condition; import org.apache.tools.ant.BuildException; @@ -44,10 +43,8 @@ public class IsSet extends ProjectComponent implements Condition { */ public boolean eval() throws BuildException { if (property == null) { - throw new BuildException("No property specified for isset " - + "condition"); + throw new BuildException("No property specified for isset " + "condition"); } - return getProject().getProperty(property) != null; }