From 45ffab1cd50b2ed9c8799444e0610a1799b75703 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 29 Dec 2009 00:34:47 +0000 Subject: [PATCH] Revert all of wrong s/iff/if changes in committed revision 894224. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894286 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java | 2 +- .../org/apache/lucene/search/highlight/WeightedSpanTerm.java | 2 +- .../lucene/store/instantiated/InstantiatedTermPositions.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java index be3e782ffd8..7f610ab5ce6 100644 --- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java +++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/PerfTask.java @@ -287,7 +287,7 @@ public abstract class PerfTask implements Cloneable { /** * 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; diff --git a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java index bd0910a26cc..50a8ad8adc9 100644 --- a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java +++ b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTerm.java @@ -54,7 +54,7 @@ public class WeightedSpanTerm extends WeightedTerm{ * * @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 diff --git a/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java b/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java index 365d5f90a9c..73ebb1c47b7 100644 --- a/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java +++ b/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/InstantiatedTermPositions.java @@ -80,7 +80,7 @@ public class InstantiatedTermPositions /** * Skips entries to the first beyond the current whose document number is - * greater than or equal to target.

Returns true if there is such + * greater than or equal to target.

Returns true iff there is such * an entry.

Behaves as if written:

    *   boolean skipTo(int target) {
    *     do {