lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1557506 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java
Date Sun, 12 Jan 2014 09:46:38 GMT
Author: mikemccand
Date: Sun Jan 12 09:46:37 2014
New Revision: 1557506

URL: http://svn.apache.org/r1557506
Log:
remove fileModified method

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java?rev=1557506&r1=1557505&r2=1557506&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java Sun Jan
12 09:46:37 2014
@@ -242,12 +242,6 @@ public abstract class FSDirectory extend
     return file.exists();
   }
 
-  /** Returns the time the named file was last modified. */
-  public static long fileModified(File directory, String name) {
-    File file = new File(directory, name);
-    return file.lastModified();
-  }
-
   /** Returns the length in bytes of a file in the directory. */
   @Override
   public long fileLength(String name) throws IOException {



Mime
View raw message