Browse Source

document @since for resources/@cache

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806571 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
173ed4bfe8
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      docs/manual/CoreTypes/resources.html
  2. +1
    -0
      src/main/org/apache/tools/ant/types/resources/Resources.java

+ 1
- 1
docs/manual/CoreTypes/resources.html View File

@@ -372,7 +372,7 @@ Ant's "legacy" datatypes have been modified to behave as Resource Collections:
</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>


+ 1
- 0
src/main/org/apache/tools/ant/types/resources/Resources.java View File

@@ -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;


Loading…
Cancel
Save