|
|
@@ -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; |
|
|
|
} |
|
|
|
|
|
|
|