From 4060855980ac17cf374c851a8cf2227e7a93187a Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 17 Jul 2007 18:53:36 +0000 Subject: [PATCH] fmt/refac git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557024 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; }