From 235718d7bbcb12fe502e82037d54d23f641bd632 Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Wed, 1 Jul 2009 05:20:16 +0000 Subject: [PATCH] changed javadoc for register() git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@790040 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/core/CoreContainer.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/solr/core/CoreContainer.java b/src/java/org/apache/solr/core/CoreContainer.java index 9741c16ffa8..d73fe176a64 100644 --- a/src/java/org/apache/solr/core/CoreContainer.java +++ b/src/java/org/apache/solr/core/CoreContainer.java @@ -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 ) {