lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sim...@apache.org
Subject svn commit: r894286 - in /lucene/java/trunk/contrib: benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ highlighter/src/java/org/apache/lucene/search/highlight/ instantiated/src/java/org/apache/lucene/store/instantiated/
Date Tue, 29 Dec 2009 00:34:47 GMT
Author: simonw
Date: Tue Dec 29 00:34:47 2009
New Revision: 894286

URL: http://svn.apache.org/viewvc?rev=894286&view=rev
Log:
Revert all of wrong s/iff/if changes in committed revision 894224.

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=894286&r1=894285&r2=894286&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
Tue Dec 29 00:34:47 2009
@@ -287,7 +287,7 @@
 
   /**
    * Sub classes that supports parameters must override this method to return true.
-   * @return true if this task supports command line params.
+   * @return true iff 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=894286&r1=894285&r2=894286&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
Tue Dec 29 00:34:47 2009
@@ -54,7 +54,7 @@
    *
    * @param position
    *            to check against valid term positions
-   * @return true if this term is a hit at this position
+   * @return true iff 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=894286&r1=894285&r2=894286&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
Tue Dec 29 00:34:47 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 if there is such
+   * greater than or equal to <currentTermPositionIndex>target</currentTermPositionIndex>.
<p>Returns true iff there is such
    * an entry.  <p>Behaves as if written: <pre>
    *   boolean skipTo(int target) {
    *     do {



Mime
View raw message