lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/demo/org/apache/lucene/demo HTMLDocument.java
Date Sat, 01 Jan 2005 23:13:00 GMT
dnaber      2005/01/01 15:13:00

  Modified:    src/demo/org/apache/lucene/demo HTMLDocument.java
  Log:
  reduce date resolution from seconds to minutes, this should be enough for most cases
  
  Revision  Changes    Path
  1.8       +1 -1      jakarta-lucene/src/demo/org/apache/lucene/demo/HTMLDocument.java
  
  Index: HTMLDocument.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/demo/org/apache/lucene/demo/HTMLDocument.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HTMLDocument.java	30 Dec 2004 12:06:09 -0000	1.7
  +++ HTMLDocument.java	1 Jan 2005 23:13:00 -0000	1.8
  @@ -32,7 +32,7 @@
       // separate the path from the date.
       return f.getPath().replace(dirSep, '\u0000') +
         "\u0000" +
  -      DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND);
  +      DateTools.timeToString(f.lastModified(), DateTools.Resolution.MINUTE);
     }
   
     public static String uid2url(String uid) {
  
  
  

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


Mime
View raw message