ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof ...@kruithof.xs4all.nl>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java
Date Thu, 07 Apr 2005 16:50:30 GMT

>  +    /**
>  +     * The granularity of timestamps under the NT File System.
>  +     * 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;
>  
>
Shouldn't this be 1, testing for a difference less than the granularity, 
which would be a valid way to see this variable / the result of the 
method using this variable would always yield false.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message