incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1138185 - in /incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor: DefaultEasyAntDescriptor.java EasyAntModuleDescriptor.java
Date Tue, 21 Jun 2011 21:05:04 GMT
Author: jlboudart
Date: Tue Jun 21 21:05:03 2011
New Revision: 1138185

URL: http://svn.apache.org/viewvc?rev=1138185&view=rev
Log:
Removing deprecated methods

Modified:
    incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/DefaultEasyAntDescriptor.java
    incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/EasyAntModuleDescriptor.java

Modified: incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/DefaultEasyAntDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/DefaultEasyAntDescriptor.java?rev=1138185&r1=1138184&r2=1138185&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/DefaultEasyAntDescriptor.java
(original)
+++ incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/DefaultEasyAntDescriptor.java
Tue Jun 21 21:05:03 2011
@@ -62,22 +62,6 @@ public class DefaultEasyAntDescriptor im
         this.properties = properties;
 
     }
-
-    public void addPlugin(String pluginModule, String as, boolean mandatory) {
-        addPlugin(pluginModule, as, mandatory, "include");
-    }
-
-    public void addPlugin(String pluginModule, String as, boolean mandatory, String mode)
{
-        PluginDescriptor plugin = new PluginDescriptor();
-        plugin.setModule(pluginModule);
-        plugin.setAs(as);
-        
-        plugin.setMandatory(mandatory);
-        if (mode != null) {
-            plugin.setMode(mode);
-        } else plugin.setMode("include");
-        this.plugins.add(plugin);
-    }
     
     public void addPlugin(PluginDescriptor pluginDescriptor) {
         if (pluginDescriptor == null) {

Modified: incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/EasyAntModuleDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/EasyAntModuleDescriptor.java?rev=1138185&r1=1138184&r2=1138185&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/EasyAntModuleDescriptor.java
(original)
+++ incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/EasyAntModuleDescriptor.java
Tue Jun 21 21:05:03 2011
@@ -67,36 +67,6 @@ public interface EasyAntModuleDescriptor
     List<PluginDescriptor> getPlugins();
 
     /**
-     * Add a plugin to the easyant context (considered as include)
-     * 
-     * @param pluginModule
-     *            a string that represents a module revision id
-     * @param as
-     *            a string that represents an alias
-     * @param mandatory
-     *            is this plugin mandatory?
-     * @deprecated since 0.6
-     */
-    void addPlugin(String pluginModule, String as, boolean mandatory);
-
-    /**
-     * Add a plugin to the easyant context and define if we should include or
-     * import it
-     * 
-     * @param pluginModule
-     *            a string that represents a module revision id
-     * @param as
-     *            a string that represents an alias
-     * @param mandatory
-     *            is this plugin mandatory?
-     * @param mode
-     *            a string that represents the import mode (include / import)
-     * @deprecated since 0.6
-     */
-    void addPlugin(String pluginModule, String as, boolean mandatory,
-            String mode);
-
-    /**
      * Add a plugin to the easyant context
      * 
      * @param pluginDescriptor



Mime
View raw message