Skip to content

Apache Lucene open-source search software

fix HTML escaping in solrj javadocs

Robert Muir6f0b19c7a750
diff --git a/solr/solrj/src/java/org/apache/solr/common/params/ModifiableSolrParams.java b/solr/solrj/src/java/org/apache/solr/common/params/ModifiableSolrParams.java
index ff89b19c85f..9291f906f25 100644
--- a/solr/solrj/src/java/org/apache/solr/common/params/ModifiableSolrParams.java
+++ b/solr/solrj/src/java/org/apache/solr/common/params/ModifiableSolrParams.java
@@ -42,7 +42,7 @@ public class ModifiableSolrParams extends SolrParams
vals = new LinkedHashMap<String, String[]>();
}
- /** Constructs a new ModifiableSolrParams directly using the provided Map<String,String[]> */
+ /** Constructs a new ModifiableSolrParams directly using the provided Map&lt;String,String[]&gt; */
public ModifiableSolrParams( Map<String,String[]> v )
{
vals = v;
diff --git a/solr/solrj/src/java/org/apache/solr/common/params/SolrParams.java b/solr/solrj/src/java/org/apache/solr/common/params/SolrParams.java
index f8b9ea9c270..c3c964f0924 100644
--- a/solr/solrj/src/java/org/apache/solr/common/params/SolrParams.java
+++ b/solr/solrj/src/java/org/apache/solr/common/params/SolrParams.java
@@ -267,7 +267,7 @@ public abstract class SolrParams implements Serializable {
return new AppendedSolrParams(params,defaults);
}
- /** Create a Map<String,String> from a NamedList given no keys are repeated */
+ /** Create a Map&lt;String,String&gt; from a NamedList given no keys are repeated */
public static Map<String,String> toMap(NamedList params) {
HashMap<String,String> map = new HashMap<String,String>();
for (int i=0; i<params.size(); i++) {
@@ -276,7 +276,7 @@ public abstract class SolrParams implements Serializable {
return map;
}
- /** Create a Map<String,String[]> from a NamedList */
+ /** Create a Map&lt;String,String[]&gt; from a NamedList */
public static Map<String,String[]> toMultiMap(NamedList params) {
HashMap<String,String[]> map = new HashMap<String,String[]>();
for (int i=0; i<params.size(); i++) {
diff --git a/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java b/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java
index 84af7444e55..5c4b341d45f 100644
--- a/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java
+++ b/solr/solrj/src/java/org/apache/solr/common/util/NamedList.java
@@ -64,7 +64,7 @@ public class NamedList<T> implements Cloneable, Serializable, Iterable<Map.Entry
*
* <p>
* Modifying the contents of the Entry[] after calling this constructor may change
- * the NamedList (in future versions of Solr), but this is not garunteed and should
+ * the NamedList (in future versions of Solr), but this is not guaranteed and should
* not be relied upon. To modify the NamedList, refer to {@link #add(String, Object)}
* or {@link #remove(String)}.
* </p>
@@ -80,7 +80,7 @@ public class NamedList<T> implements Cloneable, Serializable, Iterable<Map.Entry
* pairwise names/values.
*
* <p>
- * When using this constructor, runtime typesafety is only garunteed if the all
+ * When using this constructor, runtime typesafety is only guaranteed if the all
* even numbered elements of the input list are of type "T".
* </p>
*
@@ -271,9 +271,9 @@ public class NamedList<T> implements Cloneable, Serializable, Iterable<Map.Entry
/**
*
- * Helper class implementing Map.Entry<String, T> to store the key-value
+ * Helper class implementing Map.Entry&lt;String, T&gt; to store the key-value
* relationship in NamedList (the keys of which are String-s)
- *
+ *
* @param <T>
*/
public static final class NamedListEntry<T> implements Map.Entry<String, T> {