lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r219241 - /lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java
Date Fri, 15 Jul 2005 20:22:36 GMT
Author: dnaber
Date: Fri Jul 15 13:22:35 2005
New Revision: 219241

URL: http://svn.apache.org/viewcvs?rev=219241&view=rev
Log:
higher resolution is required here so changes to files are detected
even if file dates differ by less than a minute

Modified:
    lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java

Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java?rev=219241&r1=219240&r2=219241&view=diff
==============================================================================
--- lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java (original)
+++ lucene/java/trunk/src/demo/org/apache/lucene/demo/HTMLDocument.java Fri Jul 15 13:22:35
2005
@@ -32,7 +32,7 @@
     // separate the path from the date.
     return f.getPath().replace(dirSep, '\u0000') +
       "\u0000" +
-      DateTools.timeToString(f.lastModified(), DateTools.Resolution.MINUTE);
+      DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND);
   }
 
   public static String uid2url(String uid) {



Mime
View raw message