bruce 2005/04/07 12:59:35
Modified: src/main/org/apache/tools/ant/util FileUtils.java
Log:
Round NTFS Granularity up rather than down
Revision Changes Path
1.92 +1 -1 ant/src/main/org/apache/tools/ant/util/FileUtils.java
Index: FileUtils.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- FileUtils.java 6 Apr 2005 23:14:00 -0000 1.91
+++ FileUtils.java 7 Apr 2005 19:59:35 -0000 1.92
@@ -91,7 +91,7 @@
* 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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]