You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by mb...@apache.org on 2010/01/28 20:16:15 UTC

svn commit: r904217 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java

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
+}