Author: bodewig
Date: Fri Aug 21 14:30:54 2009
New Revision: 806571
URL: http://svn.apache.org/viewvc?rev=806571&view=rev
Log:
document @since for resources/@cache
Modified:
ant/core/trunk/docs/manual/CoreTypes/resources.html
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Resources.java
Modified: ant/core/trunk/docs/manual/CoreTypes/resources.html
URL:
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTypes/resources.html?rev=806571&r1=806570&r2=806571&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTypes/resources.html (original)
+++ ant/core/trunk/docs/manual/CoreTypes/resources.html Fri Aug 21 14:30:54 2009
@@ -372,7 +372,7 @@
</tr>
<tr>
<td valign="top">cache</td>
- <td valign="top">Whether to cache results</td>
+ <td valign="top">Whether to cache results. <em>since Ant 1.8.0</em></td>
<td valign="top" align="center">No, default <i>false</i></td>
</tr>
</table>
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Resources.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Resources.java?rev=806571&r1=806570&r2=806571&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Resources.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Resources.java
Fri Aug 21 14:30:54 2009
@@ -132,6 +132,7 @@
/**
* Set whether to cache collections.
* @param b boolean cache flag.
+ * @since Ant 1.8.0
*/
public synchronized void setCache(boolean b) {
cache = b;