diff options
Diffstat (limited to 'src/java/net')
-rw-r--r-- | src/java/net/sf/antcontrib/logic/Assert.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/logic/Assert.java b/src/java/net/sf/antcontrib/logic/Assert.java index eb5654a..7c77964 100644 --- a/src/java/net/sf/antcontrib/logic/Assert.java +++ b/src/java/net/sf/antcontrib/logic/Assert.java @@ -53,6 +53,10 @@ public class Assert tasks.add(task); } + public BooleanConditionBase createBool() { + return this; + } + public void execute() { if (countConditions() == 0) { throw new BuildException("There is no condition specified."); |