You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2006/12/04 14:13:01 UTC
svn commit: r482163 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/DefBase.java
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