Browse Source

fmt/refac

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557024 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 18 years ago
parent
commit
4060855980
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java

+ 1
- 4
src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java View File

@@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
* *
*/ */

package org.apache.tools.ant.taskdefs.condition; package org.apache.tools.ant.taskdefs.condition;


import org.apache.tools.ant.BuildException; import org.apache.tools.ant.BuildException;
@@ -44,10 +43,8 @@ public class IsSet extends ProjectComponent implements Condition {
*/ */
public boolean eval() throws BuildException { public boolean eval() throws BuildException {
if (property == null) { 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; return getProject().getProperty(property) != null;
} }




Loading…
Cancel
Save