From af77591d7a5c38a35ef2268d2442266bf273430a Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 27 Jan 2012 21:02:31 +0000 Subject: [PATCH] remove this isClosed check that we didn't have before and shouldn't need now git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/core/CoreContainer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.java index 4fab1ac9c9b..f4b145ea5c8 100644 --- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java +++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java @@ -433,9 +433,7 @@ public class CoreContainer try { for (SolrCore core : cores.values()) { try { - if (!core.isClosed()) { - core.close(); - } + core.close(); } catch (Throwable t) { SolrException.log(log, "Error shutting down core", t); }