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
systems. This can also be useful if source and target files live
on separate machines with clocks being out of sync. <em>since Ant
1.6</em>.</td>
1.6.2</em>.</td>
</tr>
</table>
<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>
*
* @since Ant 1.6
* @since Ant 1.6.2
*/
public void setGranularity(long 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
* copied or processed, because the targets are out of date or do
* not exist
* @since Ant 1.6
* @since Ant 1.6.2
*/
public static Resource[] selectOutOfDateSources(ProjectComponent logTo,
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
* 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,
FileNameMapper mapper, long granularity) {
@@ -120,7 +120,7 @@ public class SourceFileScanner implements ResourceFactory {
* files as File objects (containing absolute paths if srcDir is
* absolute).
*
* @since Ant 1.6
* @since Ant 1.6.2
*/
public File[] restrictAsFiles(String[] files, File srcDir, File destDir,
FileNameMapper mapper, long granularity) {


Loading…
Cancel
Save