From 9e21237655aaec43197b6bbfc5c1b61f5369c0db Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Thu, 28 Jan 2010 19:16:14 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904217 13f79535-47bb-0310-9956-ffa450edef68 --- .../ant/types/resources/ResourceDecorator.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java b/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java index 98d72a11a..867fde4e8 100644 --- a/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java +++ b/src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java @@ -156,15 +156,15 @@ public abstract class ResourceDecorator extends Resource { 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 @@ public abstract class ResourceDecorator extends Resource { return resource; } + /** + * {@inheritDoc} + */ protected void dieOnCircularReference(final Stack stack, final Project project) throws BuildException { @@ -264,4 +267,4 @@ public abstract class ResourceDecorator extends Resource { throw new BuildException("you can't change the size of a " + getDataTypeName()); } -} \ No newline at end of file +}