mirror of https://github.com/apache/lucene.git
SOLR-6533: formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658917 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
648eebbe92
commit
2eb8ae20a8
|
@ -2647,9 +2647,9 @@ public final class SolrCore implements SolrInfoMBean, Closeable {
|
|||
* to 'touch' the /conf directory by setting some data so that events are triggered.
|
||||
*/
|
||||
private void registerConfListener() {
|
||||
if( ! (resourceLoader instanceof ZkSolrResourceLoader)) return;
|
||||
if (!(resourceLoader instanceof ZkSolrResourceLoader)) return;
|
||||
final ZkSolrResourceLoader zkSolrResourceLoader = (ZkSolrResourceLoader) resourceLoader;
|
||||
if(zkSolrResourceLoader != null)
|
||||
if (zkSolrResourceLoader != null)
|
||||
zkSolrResourceLoader.getZkController().registerConfListenerForCore(
|
||||
zkSolrResourceLoader.getConfigSetZkPath(),
|
||||
this,
|
||||
|
@ -2687,7 +2687,7 @@ public final class SolrCore implements SolrInfoMBean, Closeable {
|
|||
|
||||
}
|
||||
if (cfg != null) {
|
||||
cfg.refreshRequestParams() ;
|
||||
cfg.refreshRequestParams();
|
||||
}
|
||||
if (checkStale(zkClient, overlayPath, solrConfigversion) ||
|
||||
checkStale(zkClient, solrConfigPath, overlayVersion) ||
|
||||
|
|
Loading…
Reference in New Issue