You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by tf...@apache.org on 2019/02/08 06:27:40 UTC

[lucene-solr] branch branch_8x updated: Set types in ZkController callables

This is an automated email from the ASF dual-hosted git repository.

tflobbe pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new e8b7700  Set types in ZkController callables
e8b7700 is described below

commit e8b7700ba9fce89f56ffc45d0d688ca9c240400c
Author: Tomas Fernandez Lobbe <tf...@apache.org>
AuthorDate: Wed Feb 6 16:47:03 2019 -0800

    Set types in ZkController callables
---
 solr/core/src/java/org/apache/solr/cloud/ZkController.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index a81481b..c84ba6b 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -252,7 +252,7 @@ public class ZkController implements Closeable {
   // ref is held as a HashSet since we clone the set before notifying to avoid synchronizing too long
   private HashSet<OnReconnect> reconnectListeners = new HashSet<OnReconnect>();
 
-  private class RegisterCoreAsync implements Callable {
+  private class RegisterCoreAsync implements Callable<Object> {
 
     CoreDescriptor descriptor;
     boolean recoverReloadedCores;
@@ -272,7 +272,7 @@ public class ZkController implements Closeable {
   }
 
   // notifies registered listeners after the ZK reconnect in the background
-  private static class OnReconnectNotifyAsync implements Callable {
+  private static class OnReconnectNotifyAsync implements Callable<Object> {
 
     private final OnReconnect listener;