You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2016/03/10 13:47:22 UTC
lucene-solr git commit: Fix javadocs for
ClusterState.getCollectionOrNull
Repository: lucene-solr
Updated Branches:
refs/heads/master 162636bf0 -> 66cd070d7
Fix javadocs for ClusterState.getCollectionOrNull
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/66cd070d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/66cd070d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/66cd070d
Branch: refs/heads/master
Commit: 66cd070d7a3510456c5dce1890c6de4ba3263520
Parents: 162636b
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Thu Mar 10 18:16:43 2016 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Thu Mar 10 18:16:43 2016 +0530
----------------------------------------------------------------------
.../src/java/org/apache/solr/common/cloud/ClusterState.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/66cd070d/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java
index ff0e6a3..2495c41 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ClusterState.java
@@ -180,9 +180,9 @@ public class ClusterState implements JSONWriter.Writable {
* if such a collection exists. Returns null otherwise.
*
* Implementation note: This method resolves the collection reference by calling
- * {@link CollectionRef#get()} which can make a call to ZooKeeper. This is necessary
+ * {@link CollectionRef#get()} which may make a call to ZooKeeper. This is necessary
* because the semantics of how collection list is loaded have changed in SOLR-6629.
- * Please javadocs in {@link ZkStateReader#refreshCollectionList(Watcher)}
+ * Please see javadocs in {@link ZkStateReader#refreshCollectionList(Watcher)}
*/
public DocCollection getCollectionOrNull(String collectionName) {
CollectionRef ref = collectionStates.get(collectionName);