mirror of https://github.com/apache/lucene.git
use the new DateTools.timeToString instead of the deprecated DateTime class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb7e42eb4a
commit
cbe5047e62
|
@ -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" +
|
||||||
DateField.timeToString(f.lastModified());
|
DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String uid2url(String uid) {
|
public static String uid2url(String uid) {
|
||||||
|
|
Loading…
Reference in New Issue