Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-4715: Fixing precommit and removing incorrect javadocs

Shalin Shekhar Mangar22ac7a0bce8c
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java
index 0cc2b2ae717..1df84eec7d5 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java
@@ -208,7 +208,7 @@ public class CloudSolrServer extends SolrServer {
* <p/>
* "zoo1.example.com:2181,zoo2.example.com:2181,zoo3.example.com:2181"
* @param httpClient
- * the {@see HttpClient} instance to be used for all requests. The
+ * the {@link HttpClient} instance to be used for all requests. The
* provided httpClient should use a multi-threaded connection manager.
*/
public CloudSolrServer(String zkHost, HttpClient httpClient) {
@@ -260,7 +260,7 @@ public class CloudSolrServer extends SolrServer {
* A chroot value for zookeeper, starting with a forward slash. If no
* chroot is required, use null.
* @param httpClient
- * the {@see HttpClient} instance to be used for all requests. The provided httpClient should use a
+ * the {@link HttpClient} instance to be used for all requests. The provided httpClient should use a
* multi-threaded connection manager.
* @throws IllegalArgumentException
* if the chroot value does not start with a forward slash.
@@ -316,7 +316,7 @@ public class CloudSolrServer extends SolrServer {
* @param updatesToLeaders
* If true, sends updates only to shard leaders.
* @param httpClient
- * the {@see HttpClient} instance to be used for all requests. The provided httpClient should use a
+ * the {@link HttpClient} instance to be used for all requests. The provided httpClient should use a
* multi-threaded connection manager.
* @see #CloudSolrServer(String) for full description and details on zkHost
*/
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBHttpSolrServer.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBHttpSolrServer.java
index a3dae6be7fd..24e583ddd1a 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBHttpSolrServer.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/LBHttpSolrServer.java
@@ -645,9 +645,7 @@ public class LBHttpSolrServer extends SolrServer {
/**
* Changes the {@link ResponseParser} that will be used for the internal
- * SolrServer objects. Throws an exception if used after internal server
- * objects have been added, so if you want to use this method, you must
- * not put any URLs in your constructor.
+ * SolrServer objects.
*
* @param parser Default Response Parser chosen to parse the response if the parser
* were not specified as part of the request.
@@ -659,9 +657,7 @@ public class LBHttpSolrServer extends SolrServer {
/**
* Changes the {@link RequestWriter} that will be used for the internal
- * SolrServer objects. Throws an exception if used after internal server
- * objects have been added, so if you want to use this method, you must
- * not put any URLs in your constructor.
+ * SolrServer objects.
*
* @param requestWriter Default RequestWriter, used to encode requests sent to the server.
*/