mirror of
https://github.com/apache/lucene.git
synced 2025-02-17 23:45:09 +00:00
fix commented out debug code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
181cad843a
commit
4714e250ea
@ -29,6 +29,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.lucene.index.DirectoryReader;
|
||||
import org.apache.lucene.store.Directory;
|
||||
@ -71,8 +73,6 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since solr 1.3
|
||||
@ -934,14 +934,6 @@ public class CoreAdminHandler extends RequestHandlerBase {
|
||||
+ " but I still do not see the request state. I see state: "
|
||||
+ state + " live:" + live);
|
||||
}
|
||||
} finally {
|
||||
if (core != null) {
|
||||
core.close();
|
||||
}
|
||||
}
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
|
||||
|
||||
// solrcloud_debug
|
||||
// try {;
|
||||
@ -965,6 +957,14 @@ public class CoreAdminHandler extends RequestHandlerBase {
|
||||
// } catch (Exception e) {
|
||||
//
|
||||
// }
|
||||
} finally {
|
||||
if (core != null) {
|
||||
core.close();
|
||||
}
|
||||
}
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user