lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/store FSDirectory.java
Date Wed, 26 Jun 2002 17:30:12 GMT
otis        2002/06/26 10:30:11

  Modified:    src/java/org/apache/lucene/store FSDirectory.java
  Log:
  - Changed the 'disableLocks' system property name to 'disableLuceneLocks'.
  - Fixed my own misspelling from the previous commit.
  
  Revision  Changes    Path
  1.9       +5 -5      jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
  
  Index: FSDirectory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FSDirectory.java	25 Jun 2002 16:09:15 -0000	1.8
  +++ FSDirectory.java	26 Jun 2002 17:30:11 -0000	1.9
  @@ -63,9 +63,9 @@
   import org.apache.lucene.util.Constants;
   
   /**
  - * Straight forward implementation of Directory as a directory of files.
  - * If the system property 'disableLocks' has the String value of "true", lock
  - * creation will be disabled.
  + * Straightforward implementation of Directory as a directory of files.
  + * If the system property 'disableLuceneLocks' has the String value of "true",
  + * lock creation will be disabled.
    *
    * @see Directory
    * @author Doug Cutting
  @@ -81,7 +81,7 @@
     private static final Hashtable DIRECTORIES = new Hashtable();
   
     private static final boolean DISABLE_LOCKS =
  -      Boolean.getBoolean("disableLocks") || Constants.JAVA_1_1;
  +      Boolean.getBoolean("disableLuceneLocks") || Constants.JAVA_1_1;
   
     /** Returns the directory instance for the named location.
      *
  @@ -220,7 +220,7 @@
     /**
      * Constructs a {@link Lock} with the specified name.
      * If JDK 1.1 is used the lock file is not really made.
  -   * If system property <I>disableLocks</I> has the value of 'true'
  +   * If system property <I>disableLuceneLocks</I> has the value of 'true'
      * the lock will not be created.  Assigning this property any other value
      * will <B>not</B> prevent creation of locks.
      * <BR>
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message