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:
Noble Paul 2009-07-01 05:20:16 +00:00
parent 5a468f5f94
commit 235718d7bb
1 changed files with 2 additions and 3 deletions

View File

@ -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 ) {