Skip to content

Apache Lucene open-source search software

- Typo

Otis Gospodneticd272f3e47371
diff --git a/src/java/org/apache/solr/search/DocListAndSet.java b/src/java/org/apache/solr/search/DocListAndSet.java
index 6cc45d974bd..11cbbb3893c 100644
--- a/src/java/org/apache/solr/search/DocListAndSet.java
+++ b/src/java/org/apache/solr/search/DocListAndSet.java
@@ -19,8 +19,8 @@ package org.apache.solr.search;
/**
- * A struct who's only purpose is to hold both a DocList and a DocSet so that both
- * may be returned from a single method.
+ * A struct whose only purpose is to hold both a {@link DocList} and a {@link DocSet}
+ * so that both may be returned from a single method.
* <p>
* The DocList and DocSet returned should <b>not</b> be modified as they may
* have been retrieved or inserted into a cache and should be considered shared.
diff --git a/src/java/org/apache/solr/search/DocSlice.java b/src/java/org/apache/solr/search/DocSlice.java
index f4317f1f5a8..fcb2c7f64a5 100644
--- a/src/java/org/apache/solr/search/DocSlice.java
+++ b/src/java/org/apache/solr/search/DocSlice.java
@@ -34,7 +34,7 @@ public class DocSlice extends DocSetBase implements DocList {
final float maxScore;
/**
- * Primary constructer for a DocSlice instance.
+ * Primary constructor for a DocSlice instance.
*
* @param offset starting offset for this range of docs
* @param len length of results