From 7f6c38fc7754d4283473792ab0654291d1438b0b Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 7 Mar 2009 14:21:26 +0000 Subject: [PATCH] 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 --- src/java/org/apache/lucene/store/FSDirectory.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/java/org/apache/lucene/store/FSDirectory.java b/src/java/org/apache/lucene/store/FSDirectory.java index efb3abdd052..98940ca18cf 100644 --- a/src/java/org/apache/lucene/store/FSDirectory.java +++ b/src/java/org/apache/lucene/store/FSDirectory.java @@ -41,10 +41,6 @@ import org.apache.lucene.index.IndexWriter; * org.apache.lucene.store.FSDirectoryLockFactoryClass Java system * property, or by calling {@link #setLockFactory} after creating * the Directory. - - *

Directories are cached, so that, for a given canonical - * path, the same FSDirectory instance will always be - * returned by getDirectory.

* * @see Directory */ @@ -284,8 +280,6 @@ public class FSDirectory extends Directory { * @param path the path of the directory * @param lockFactory the lock factory to use, or null for the default. * @throws IOException - * - * Use {@link #getDirectory(String)} if singletons per path are needed. */ public FSDirectory(File path, LockFactory lockFactory) throws IOException { path = getCanonicalPath(path);