Browse Source

Round NTFS Granularity up rather than down

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278117 13f79535-47bb-0310-9956-ffa450edef68
master
Bruce Atherton 20 years ago
parent
commit
c3018eaa64
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/util/FileUtils.java

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

@@ -91,7 +91,7 @@ public class FileUtils {
* NTFS has a granularity of 100 nanoseconds, which is less
* than 1 millisecond, so we set this to 0.
*/
public static final long NTFS_FILE_TIMESTAMP_GRANULARITY = 0;
public static final long NTFS_FILE_TIMESTAMP_GRANULARITY = 1;

// stolen from FilePathToURI of the Xerces-J team
static {


Loading…
Cancel
Save