lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r751276 - /lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java
Date Sat, 07 Mar 2009 14:21:26 GMT
Author: mikemccand
Date: Sat Mar  7 14:21:26 2009
New Revision: 751276

URL: http://svn.apache.org/viewvc?rev=751276&view=rev
Log:
remove references to getDirectory methods from FSDirectory javadocs since we've deprecated
them

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

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=751276&r1=751275&r2=751276&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 Sat Mar  7 14:21:26
2009
@@ -41,10 +41,6 @@
  * <code>org.apache.lucene.store.FSDirectoryLockFactoryClass</code> Java system
  * property, or by calling {@link #setLockFactory} after creating
  * 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
  */
@@ -284,8 +280,6 @@
    * @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);



Mime
View raw message