I once knew of a math prof in the early days of electronic book submissions who had a helpful person change all the "iff"s into "if" thinking they were all typo's... in all the proofs in a math text... As his fellow faculty member was relaying the story added "putting them back was non-trivial"....
Erick On Mon, Dec 28, 2009 at 3:02 PM, Robert Muir <rcm...@gmail.com> wrote: > Simon, are we sure these are spelling issues, I think this iff stands > for 'if and only if' in these cases? > > http://en.wikipedia.org/wiki/If_and_only_if > > On Mon, Dec 28, 2009 at 1:52 PM, <sim...@apache.org> wrote: > > Author: simonw > > Date: Mon Dec 28 18:52:19 2009 > > New Revision: 894224 > > > > URL: http://svn.apache.org/viewvc?rev=894224&view=rev > > Log: > > fixed trivial spelling issues in javadoc > > > > Modified: > > > > lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java > > > > lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java > > > > lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java > > > > Modified: > lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java > > URL: > http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java?rev=894224&r1=894223&r2=894224&view=diff > > > ============================================================================== > > --- > lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java > (original) > > +++ > lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java > Mon Dec 28 18:52:19 2009 > > @@ -287,7 +287,7 @@ > > > > /** > > * Sub classes that supports parameters must override this method to > return true. > > - * @return true iff this task supports command line params. > > + * @return true if this task supports command line params. > > */ > > public boolean supportsParams () { > > return false; > > > > Modified: > lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java > > URL: > http://svn.apache.org/viewvc/lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java?rev=894224&r1=894223&r2=894224&view=diff > > > ============================================================================== > > --- > lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java > (original) > > +++ > lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java > Mon Dec 28 18:52:19 2009 > > @@ -53,8 +53,8 @@ > > * Checks to see if this term is valid at <code>position</code>. > > * > > * @param position > > - * to check against valid term postions > > - * @return true iff this term is a hit at this position > > + * to check against valid term positions > > + * @return true if this term is a hit at this position > > */ > > public boolean checkPosition(int position) { > > // There would probably be a slight speed improvement if > PositionSpans > > > > Modified: > lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java > > URL: > http://svn.apache.org/viewvc/lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java?rev=894224&r1=894223&r2=894224&view=diff > > > ============================================================================== > > --- > lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java > (original) > > +++ > lucene/java/trunk/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java > Mon Dec 28 18:52:19 2009 > > @@ -80,7 +80,7 @@ > > > > /** > > * Skips entries to the first beyond the current whose document number > is > > - * greater than or equal to > <currentTermPositionIndex>target</currentTermPositionIndex>. <p>Returns true > iff there is such > > + * greater than or equal to > <currentTermPositionIndex>target</currentTermPositionIndex>. <p>Returns true > if there is such > > * an entry. <p>Behaves as if written: <pre> > > * boolean skipTo(int target) { > > * do { > > > > > > > > > > -- > Robert Muir > rcm...@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > >