From 173ed4bfe8ddc783d6050a372191e54ec7b86d28 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 21 Aug 2009 14:30:54 +0000 Subject: [PATCH] document @since for resources/@cache git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806571 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/resources.html | 2 +- src/main/org/apache/tools/ant/types/resources/Resources.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index e6bcb084f..094efda14 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -372,7 +372,7 @@ Ant's "legacy" datatypes have been modified to behave as Resource Collections: cache - Whether to cache results + Whether to cache results. since Ant 1.8.0 No, default false diff --git a/src/main/org/apache/tools/ant/types/resources/Resources.java b/src/main/org/apache/tools/ant/types/resources/Resources.java index 4c40c5fb5..99143739b 100644 --- a/src/main/org/apache/tools/ant/types/resources/Resources.java +++ b/src/main/org/apache/tools/ant/types/resources/Resources.java @@ -132,6 +132,7 @@ public class Resources extends DataType implements ResourceCollection { /** * Set whether to cache collections. * @param b boolean cache flag. + * @since Ant 1.8.0 */ public synchronized void setCache(boolean b) { cache = b;