I agree, and if its really important for some reason to document something as "if and only if", I think we should write it out completely and avoid specialized abbreviations.
On Fri, Mar 23, 2012 at 9:04 AM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Fri, Mar 23, 2012 at 8:57 AM, Robert Muir <rcm...@gmail.com> 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, <m...@apache.org> 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: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org