Author: mbenson
Date: Thu Jan 28 19:16:14 2010
New Revision: 904217
URL: http://svn.apache.org/viewvc?rev=904217&view=rev
Log:
javadoc
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java?rev=904217&r1=904216&r2=904217&view=diff
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java
Thu Jan 28 19:16:14 2010
@@ -156,15 +156,15 @@
super.setRefid(r);
}
+ /**
+ * {...@inheritdoc}
+ */
public Object as(Class clazz) {
return getResource().as(clazz);
}
/**
- * Delegates to a comparison of names.
- * @param other the object to compare to.
- * @return a negative integer, zero, or a positive integer as this Resource
- * is less than, equal to, or greater than the specified Resource.
+ * {...@inheritdoc}
*/
public int compareTo(Object other) {
if (other == this) {
@@ -200,6 +200,9 @@
return resource;
}
+ /**
+ * {...@inheritdoc}
+ */
protected void dieOnCircularReference(final Stack stack,
final Project project)
throws BuildException {
@@ -264,4 +267,4 @@
throw new BuildException("you can't change the size of a "
+ getDataTypeName());
}
-}
\ No newline at end of file
+}