From bcc1117fbf74b8db1d1e5560763525023786d7bf Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 28 Dec 2009 18:52:19 +0000 Subject: [PATCH] fixed trivial spelling issues in javadoc git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894224 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/benchmark/byTask/tasks/PerfTask.java | 2 +- .../org/apache/lucene/search/highlight/WeightedSpanTerm.java | 4 ++-- .../lucene/store/instantiated/InstantiatedTermPositions.java | 2 +- 3 files changed, 4 insertions(+), 4 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 7f610ab5ce6..be3e782ffd8 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 iff this task supports command line params. + * @return true if 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 6d884558eff..bd0910a26cc 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 @@ -53,8 +53,8 @@ public class WeightedSpanTerm extends WeightedTerm{ * Checks to see if this term is valid at position. * * @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 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 73ebb1c47b7..365d5f90a9c 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 iff there is such + * greater than or equal to target.

Returns true if there is such * an entry.

Behaves as if written:

    *   boolean skipTo(int target) {
    *     do {