You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by no...@apache.org on 2009/07/01 07:20:17 UTC
svn commit: r790040 -
/lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java
Author: noble
Date: Wed Jul 1 05:20:16 2009
New Revision: 790040
URL: http://svn.apache.org/viewvc?rev=790040&view=rev
Log:
changed javadoc for register()
Modified:
lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java?rev=790040&r1=790039&r2=790040&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java Wed Jul 1 05:20:16 2009
@@ -295,10 +295,9 @@
/**
* Registers a SolrCore descriptor in the registry using the specified name.
+ * If returnPrev==false, the old core, if different, is closed. if true, it is returned w/o closing the core
*
- * If returnPrev==false, the old core, if different, is closed.
- *
- * @return a previous core having the same name if it existed and returnPrev==true
+ * @return a previous core having the same name if it existed
*/
public SolrCore register(String name, SolrCore core, boolean returnPrev) {
if( core == null ) {