On Fri, Mar 23, 2012 at 8:57 AM, Robert Muir <[email protected]> wrote:
> Is this a typo or intended to be iff (if and only if)?

While it may not have been a typo, it was redundant/overkill (as it is
for most uses in Lucene).

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10


> On Fri, Mar 23, 2012 at 8:50 AM,  <[email protected]> wrote:
>> Author: mvg
>> Date: Fri Mar 23 12:50:14 2012
>> New Revision: 1304320
>>
>> URL: http://svn.apache.org/viewvc?rev=1304320&view=rev
>> Log:
>> fixed small typo
>>
>> Modified:
>>    
>> lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
>>
>> Modified: 
>> lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
>> URL: 
>> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java?rev=1304320&r1=1304319&r2=1304320&view=diff
>> ==============================================================================
>> --- 
>> lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
>>  (original)
>> +++ 
>> lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
>>  Fri Mar 23 12:50:14 2012
>> @@ -3699,7 +3699,7 @@ public class IndexWriter implements Clos
>>   }
>>
>>   /**
>> -   * Returns <code>true</code> iff the index in the named directory is
>> +   * Returns <code>true</code> if the index in the named directory is
>>    * currently locked.
>>    * @param directory the directory to check for a lock
>>    * @throws IOException if there is a low-level IO error
>>
>>
>
>
>
> --
> lucidimagination.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to