ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r482163 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java
Date Mon, 04 Dec 2006 13:13:01 GMT
Author: peterreilly
Date: Mon Dec  4 05:13:00 2006
New Revision: 482163

URL: http://svn.apache.org/viewvc?view=rev&rev=482163
Log:
opps: forgot to commit this

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java?view=diff&rev=482163&r1=482162&r2=482163
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java Mon Dec  4 05:13:00
2006
@@ -36,6 +36,15 @@
     private ClasspathUtils.Delegate cpDelegate;
 
     /**
+     * Check if classpath attributes have been set.
+     * (to be called before getCpDelegate() is used.
+     * @return true if cpDelegate has been created.
+     */
+    protected boolean hasCpDelegate() {
+        return cpDelegate != null;
+    }
+
+    /**
      * @param reverseLoader if true a delegated loader will take precedence over
      *                      the parent
      * @deprecated since 1.6.x.



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


Mime
View raw message