Browse Source

Push fix for PR#22150 to 1.6.2

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276484 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
cd12d21761
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      docs/manual/CoreTasks/copy.html
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Copy.java
  3. +1
    -1
      src/main/org/apache/tools/ant/util/ResourceUtils.java
  4. +2
    -2
      src/main/org/apache/tools/ant/util/SourceFileScanner.java

+ 1
- 1
docs/manual/CoreTasks/copy.html View File

@@ -136,7 +136,7 @@ operation as <a href="../CoreTypes/filterset.html">filtersets</a>
millisecond level. Default is 0 milliseconds, or 2 seconds on DOS millisecond level. Default is 0 milliseconds, or 2 seconds on DOS
systems. This can also be useful if source and target files live systems. This can also be useful if source and target files live
on separate machines with clocks being out of sync. <em>since Ant on separate machines with clocks being out of sync. <em>since Ant
1.6</em>.</td>
1.6.2</em>.</td>
</tr> </tr>
</table> </table>
<h3>Parameters specified as nested elements</h3> <h3>Parameters specified as nested elements</h3>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Copy.java View File

@@ -335,7 +335,7 @@ public class Copy extends Task {
* *
* <p>Default is 0 milliseconds, or 2 seconds on DOS systems.</p> * <p>Default is 0 milliseconds, or 2 seconds on DOS systems.</p>
* *
* @since Ant 1.6
* @since Ant 1.6.2
*/ */
public void setGranularity(long granularity) { public void setGranularity(long granularity) {
this.granularity = granularity; this.granularity = granularity;


+ 1
- 1
src/main/org/apache/tools/ant/util/ResourceUtils.java View File

@@ -71,7 +71,7 @@ public class ResourceUtils {
* @return array containing the source files which need to be * @return array containing the source files which need to be
* copied or processed, because the targets are out of date or do * copied or processed, because the targets are out of date or do
* not exist * not exist
* @since Ant 1.6
* @since Ant 1.6.2
*/ */
public static Resource[] selectOutOfDateSources(ProjectComponent logTo, public static Resource[] selectOutOfDateSources(ProjectComponent logTo,
Resource[] source, Resource[] source,


+ 2
- 2
src/main/org/apache/tools/ant/util/SourceFileScanner.java View File

@@ -77,7 +77,7 @@ public class SourceFileScanner implements ResourceFactory {
* @param granularity The number of milliseconds leeway to give * @param granularity The number of milliseconds leeway to give
* before deciding a target is out of date. * before deciding a target is out of date.
* *
* @since Ant 1.6
* @since Ant 1.6.2
*/ */
public String[] restrict(String[] files, File srcDir, File destDir, public String[] restrict(String[] files, File srcDir, File destDir,
FileNameMapper mapper, long granularity) { FileNameMapper mapper, long granularity) {
@@ -120,7 +120,7 @@ public class SourceFileScanner implements ResourceFactory {
* files as File objects (containing absolute paths if srcDir is * files as File objects (containing absolute paths if srcDir is
* absolute). * absolute).
* *
* @since Ant 1.6
* @since Ant 1.6.2
*/ */
public File[] restrictAsFiles(String[] files, File srcDir, File destDir, public File[] restrictAsFiles(String[] files, File srcDir, File destDir,
FileNameMapper mapper, long granularity) { FileNameMapper mapper, long granularity) {


Loading…
Cancel
Save