lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r882591 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/store/FSDirectory.java
Date Fri, 20 Nov 2009 14:59:23 GMT
Author: mikemccand
Date: Fri Nov 20 14:59:23 2009
New Revision: 882591

URL: http://svn.apache.org/viewvc?rev=882591&view=rev
Log:
LUCENE-2076: Rename FSDir.getFile -> getDirectory

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=882591&r1=882590&r2=882591&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Nov 20 14:59:23 2009
@@ -2,6 +2,22 @@
 $Id$
 
 ======================= Trunk (not yet released) =======================
+Changes in backwards compatibility policy
+
+Changes in runtime behavior
+
+API Changes
+
+* LUCENE-2076: Rename FSDirectory.getFile -> getDirectory.  (George
+  Aroush via Mike McCandless)
+
+Bug fixes
+
+New features
+
+Optimizations
+
+Build
 
 ======================= Release 3.0.0 2009-11-25 =======================
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java?rev=882591&r1=882590&r2=882591&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java Fri Nov 20 14:59:23
2009
@@ -372,7 +372,13 @@
     isOpen = false;
   }
 
+  /** @deprecated Use {@link #getDirectory} instead. */
   public File getFile() {
+    return getDirectory();
+  }
+
+  /** @return the underlying filesystem directory */
+  public File getDirectory() {
     ensureOpen();
     return directory;
   }



Mime
View raw message