mirror of https://github.com/apache/lucene.git
remove references to getDirectory methods from FSDirectory javadocs since we've deprecated them
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751276 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e2eafd3d2
commit
7f6c38fc77
|
@ -41,10 +41,6 @@ import org.apache.lucene.index.IndexWriter;
|
||||||
* <code>org.apache.lucene.store.FSDirectoryLockFactoryClass</code> Java system
|
* <code>org.apache.lucene.store.FSDirectoryLockFactoryClass</code> Java system
|
||||||
* property, or by calling {@link #setLockFactory} after creating
|
* property, or by calling {@link #setLockFactory} after creating
|
||||||
* the Directory.
|
* the Directory.
|
||||||
|
|
||||||
* <p>Directories are cached, so that, for a given canonical
|
|
||||||
* path, the same FSDirectory instance will always be
|
|
||||||
* returned by <code>getDirectory</code>.</p>
|
|
||||||
*
|
*
|
||||||
* @see Directory
|
* @see Directory
|
||||||
*/
|
*/
|
||||||
|
@ -284,8 +280,6 @@ public class FSDirectory extends Directory {
|
||||||
* @param path the path of the directory
|
* @param path the path of the directory
|
||||||
* @param lockFactory the lock factory to use, or null for the default.
|
* @param lockFactory the lock factory to use, or null for the default.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*
|
|
||||||
* Use {@link #getDirectory(String)} if singletons per path are needed.
|
|
||||||
*/
|
*/
|
||||||
public FSDirectory(File path, LockFactory lockFactory) throws IOException {
|
public FSDirectory(File path, LockFactory lockFactory) throws IOException {
|
||||||
path = getCanonicalPath(path);
|
path = getCanonicalPath(path);
|
||||||
|
|
Loading…
Reference in New Issue