higher resolution is required here so changes to files are detected

even if file dates differ by less than a minute


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2005-07-15 20:22:35 +00:00
parent 28e1679191
commit d51c0dee07
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class HTMLDocument {
// separate the path from the date. // separate the path from the date.
return f.getPath().replace(dirSep, '\u0000') + return f.getPath().replace(dirSep, '\u0000') +
"\u0000" + "\u0000" +
DateTools.timeToString(f.lastModified(), DateTools.Resolution.MINUTE); DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND);
} }
public static String uid2url(String uid) { public static String uid2url(String uid) {