mirror of https://github.com/apache/lucene.git
changed javadoc for register()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@790040 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5a468f5f94
commit
235718d7bb
|
@ -295,10 +295,9 @@ public class CoreContainer
|
|||
|
||||
/**
|
||||
* 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 ) {
|
||||
|
|
Loading…
Reference in New Issue