Committed by
Gerrit Code Review
Remove unused executor field
Change-Id: I1f0e531fe2099b08848f3a9bbc3e5593c1332e69
Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -19,8 +19,6 @@ import static org.slf4j.LoggerFactory.getLogger; | ... | @@ -19,8 +19,6 @@ import static org.slf4j.LoggerFactory.getLogger; |
19 | 19 | ||
20 | import java.util.Map; | 20 | import java.util.Map; |
21 | import java.util.Set; | 21 | import java.util.Set; |
22 | -import java.util.concurrent.ScheduledExecutorService; | ||
23 | - | ||
24 | import org.apache.felix.scr.annotations.Activate; | 22 | import org.apache.felix.scr.annotations.Activate; |
25 | import org.apache.felix.scr.annotations.Component; | 23 | import org.apache.felix.scr.annotations.Component; |
26 | import org.apache.felix.scr.annotations.Deactivate; | 24 | import org.apache.felix.scr.annotations.Deactivate; |
... | @@ -61,7 +59,6 @@ public class ConsistentApplicationIdStore implements ApplicationIdStore { | ... | @@ -61,7 +59,6 @@ public class ConsistentApplicationIdStore implements ApplicationIdStore { |
61 | private ConsistentMap<String, ApplicationId> registeredIds; | 59 | private ConsistentMap<String, ApplicationId> registeredIds; |
62 | private Map<String, ApplicationId> nameToAppIdCache = Maps.newConcurrentMap(); | 60 | private Map<String, ApplicationId> nameToAppIdCache = Maps.newConcurrentMap(); |
63 | private Map<Short, ApplicationId> idToAppIdCache = Maps.newConcurrentMap(); | 61 | private Map<Short, ApplicationId> idToAppIdCache = Maps.newConcurrentMap(); |
64 | - private ScheduledExecutorService executor; | ||
65 | 62 | ||
66 | private static final Serializer SERIALIZER = Serializer.using(new KryoNamespace.Builder() | 63 | private static final Serializer SERIALIZER = Serializer.using(new KryoNamespace.Builder() |
67 | .register(KryoNamespaces.API) | 64 | .register(KryoNamespaces.API) |
... | @@ -88,7 +85,6 @@ public class ConsistentApplicationIdStore implements ApplicationIdStore { | ... | @@ -88,7 +85,6 @@ public class ConsistentApplicationIdStore implements ApplicationIdStore { |
88 | 85 | ||
89 | @Deactivate | 86 | @Deactivate |
90 | public void deactivate() { | 87 | public void deactivate() { |
91 | - executor.shutdown(); | ||
92 | log.info("Stopped"); | 88 | log.info("Stopped"); |
93 | } | 89 | } |
94 | 90 | ... | ... |
-
Please register or login to post a comment