lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r790040 - /lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java
Date Wed, 01 Jul 2009 05:20:17 GMT
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 ) {



Mime
View raw message