ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1587676 - /ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java
Date Tue, 15 Apr 2014 18:36:37 GMT
Author: jlboudart
Date: Tue Apr 15 18:36:37 2014
New Revision: 1587676

URL: http://svn.apache.org/r1587676
Log:
Cleaning easyantOption

Modified:
    ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java

Modified: ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java
URL: http://svn.apache.org/viewvc/ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java?rev=1587676&r1=1587675&r2=1587676&view=diff
==============================================================================
--- ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java (original)
+++ ant/easyant/core/trunk/src/main/java/org/apache/easyant/man/EasyantOption.java Tue Apr
15 18:36:37 2014
@@ -63,14 +63,8 @@ public abstract class EasyantOption exte
         super(opt, description);
     }
 
-    public void execute() {
-        if (getProject() == null) {
-            throw new IllegalStateException("project can't be null");
-        }
-        project.log(LINE_SEP + "Project Manual");
-        project.log("--------------");
-    }
-
+    public abstract void execute();
+    
     public Project getProject() {
         return project;
     }



Mime
View raw message