From c3018eaa64e6319dd6a03e2bf46e3c1c965b4fd6 Mon Sep 17 00:00:00 2001 From: Bruce Atherton Date: Thu, 7 Apr 2005 19:59:35 +0000 Subject: [PATCH] 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 --- src/main/org/apache/tools/ant/util/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/util/FileUtils.java b/src/main/org/apache/tools/ant/util/FileUtils.java index 640da850a..f345c26d4 100644 --- a/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/src/main/org/apache/tools/ant/util/FileUtils.java @@ -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 {