mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 13:29:26 +00:00
LUCENE-2076: Rename FSDir.getFile -> getDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882591 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
961a41144d
commit
0a1cce0f63
16
CHANGES.txt
16
CHANGES.txt
@ -2,6 +2,22 @@ Lucene Change Log
|
||||
$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 =======================
|
||||
|
||||
|
@ -372,7 +372,13 @@ public abstract class FSDirectory extends Directory {
|
||||
isOpen = false;
|
||||
}
|
||||
|
||||
/** @deprecated Use {@link #getDirectory} instead. */
|
||||
public File getFile() {
|
||||
return getDirectory();
|
||||
}
|
||||
|
||||
/** @return the underlying filesystem directory */
|
||||
public File getDirectory() {
|
||||
ensureOpen();
|
||||
return directory;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user