Skip to content

Apache Lucene open-source search software

javadocs: fix broken HTML

Michael McCandless16692d69f4e0
diff --git a/lucene/analysis/stempel/src/java/org/egothor/stemmer/Row.java b/lucene/analysis/stempel/src/java/org/egothor/stemmer/Row.java
index 944e3463f21..1489a57f4b6 100644
--- a/lucene/analysis/stempel/src/java/org/egothor/stemmer/Row.java
+++ b/lucene/analysis/stempel/src/java/org/egothor/stemmer/Row.java
@@ -220,7 +220,7 @@ public class Row {
* Character.
*
* @param way the Character associated with the desired Cell
- * @return the reference, or -1 if the Cell is <tt>null,/tt>
+ * @return the reference, or -1 if the Cell is <tt>null</tt>
*/
public int getRef(Character way) {
Cell c = at(way);
diff --git a/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java b/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
index 6cf6c27badf..477ea1bb8f4 100644
--- a/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
+++ b/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
@@ -103,7 +103,7 @@ public abstract class PriorityQueue<T> {
*
* <pre>
* // extends getSentinelObject() to return a non-null value.
- * PriorityQueue<MyObject> pq = new MyQueue<MyObject>(numHits);
+ * PriorityQueue&lt;MyObject&gt; pq = new MyQueue&lt;MyObject&gt;(numHits);
* // save the 'top' element, which is guaranteed to not be null.
* MyObject pqTop = pq.top();
* &lt;...&gt;
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
index 0dbc7966eb5..3d7439d8cfe 100644
--- a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
+++ b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
@@ -89,7 +89,7 @@ public final class Util {
* pair where the output is equal to the target, and will
* return null if that output does not exist.
*
- * <p>NOTE: this only works with FST<Long>, only
+ * <p>NOTE: this only works with {@code FST<Long>}, only
* works when the outputs are ascending in order with
* the inputs and only works when you shared
* the outputs (pass doShare=true to {@link
diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CategoryPath.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CategoryPath.java
index 30de4d9e67b..db97dd81800 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CategoryPath.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CategoryPath.java
@@ -570,7 +570,7 @@ public class CategoryPath implements Serializable, Cloneable, Comparable<Categor
* changed later by the user. Copying the contents into a new object is a
* solution.
* <P>
- * This constructor </I>does not</I> copy the capacity (spare buffer size)
+ * This constructor <I>does not</I> copy the capacity (spare buffer size)
* of the existing CategoryPath. Rather, the new object occupies exactly the
* space it needs, without any spare. This is the expected behavior in the
* typical use case outlined in the previous paragraph.
diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java
index fc6d79d2946..4c8869c92f6 100644
--- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java
+++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/config/AbstractQueryConfig.java
@@ -62,7 +62,7 @@ public abstract class AbstractQueryConfig {
/**
* Returns true if there is a value set with the given key, otherwise false.
*
- * @param <T> @param <T> the value's type
+ * @param <T> the value's type
* @param key the key, cannot be <code>null</code>
* @return true if there is a value set with the given key, otherwise false
*/