From: Rob Sherwood Date: Sat, 23 Mar 2013 19:14:47 +0000 (-0700) Subject: removed dead code that was causing a warning X-Git-Tag: releasepom-0.1.0~632^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F70%2F70%2F1 removed dead code that was causing a warning the "if (cl == null)" could never be true. My compiler was causing a warning -- removed. Change-Id: I0e873a476fb18f24a3f8698fbe1f34e7fdb84744 Signed-off-by: Rob Sherwood --- diff --git a/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/ClusterManager.java b/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/ClusterManager.java index d3cd23e350..632f550ffe 100644 --- a/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/ClusterManager.java +++ b/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/ClusterManager.java @@ -415,9 +415,6 @@ public class ClusterManager implements IClusterServices { c = manager.getCache(realCacheName); CacheListenerContainer cl = new CacheListenerContainer(u, containerName, cacheName); - if (cl == null) { - throw new CacheListenerAddException(); - } c.addListener(cl); }