lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r1658917 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
Date Wed, 11 Feb 2015 10:41:13 GMT
Author: noble
Date: Wed Feb 11 10:41:13 2015
New Revision: 1658917

URL: http://svn.apache.org/r1658917
Log:
SOLR-6533:  formatting fixed

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java?rev=1658917&r1=1658916&r2=1658917&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java Wed Feb 11 10:41:13
2015
@@ -2647,9 +2647,9 @@ public final class SolrCore implements S
    * 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 S
 
         }
         if (cfg != null) {
-          cfg.refreshRequestParams() ;
+          cfg.refreshRequestParams();
         }
         if (checkStale(zkClient, overlayPath, solrConfigversion) ||
             checkStale(zkClient, solrConfigPath, overlayVersion) ||



Mime
View raw message