From easyant-commits-return-257-apmail-incubator-easyant-commits-archive=incubator.apache.org@incubator.apache.org Tue Jun 21 21:05:28 2011 Return-Path: X-Original-To: apmail-incubator-easyant-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-easyant-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 012F34834 for ; Tue, 21 Jun 2011 21:05:28 +0000 (UTC) Received: (qmail 76524 invoked by uid 500); 21 Jun 2011 21:05:27 -0000 Delivered-To: apmail-incubator-easyant-commits-archive@incubator.apache.org Received: (qmail 76506 invoked by uid 500); 21 Jun 2011 21:05:27 -0000 Mailing-List: contact easyant-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: easyant-dev@incubator.apache.org Delivered-To: mailing list easyant-commits@incubator.apache.org Received: (qmail 76499 invoked by uid 99); 21 Jun 2011 21:05:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 21:05:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 21:05:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2C2852388A32; Tue, 21 Jun 2011 21:05:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: easyant-commits@incubator.apache.org From: jlboudart@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110621210504.2C2852388A32@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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