ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r564726 - /ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
Date Fri, 10 Aug 2007 19:27:46 GMT
Author: peterreilly
Date: Fri Aug 10 12:27:44 2007
New Revision: 564726

URL: http://svn.apache.org/viewvc?view=rev&rev=564726
Log:
deprecate the dynamicelement api in ConditionBase

Modified:
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java?view=diff&rev=564726&r1=564725&r2=564726
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
Fri Aug 10 12:27:44 2007
@@ -288,6 +288,16 @@
      * Create a dynamically discovered condition.  Built-in conditions can
      * be discovered from the org.apache.tools.ant.taskdefs.condition
      * antlib.
+     * <p>
+     * This is a temporary fix until restricted type are added
+     * in Ant 1.8.0. The purpose of this method is to stop polluting the
+     * global type namespace with new conditionds - or worse adding new
+     * methods to this class.
+     * </p>
+     * @since 1.7.0
+     * @deprecated since 1.7.1 This method will be removed in Ant 1.8.0.
+     *             Until then, ant core will use it, but third party software
+     *             should not rely on this method.
      * @param name the condition to create.
      * @return the dynamic condition if found, null otherwise.
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message