Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fixed trivial spelling issues in javadoc

Simon Willnauerbcc1117fbf74
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 <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
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 <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 {