From: Colin Dixon Date: Thu, 24 Oct 2013 17:38:39 +0000 (-0500) Subject: Removing suppress annotations to fix warnings. X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-1~568 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=91c77815a47b2f8f9e1a2a1f6a53a770e5ed42dd Removing suppress annotations to fix warnings. We no longer need the @SuppressWarnings for "deprecated" Change-Id: I42fb70ff6bf3a41c05611884bc0554f2d8615da8 Signed-off-by: Colin Dixon --- diff --git a/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java b/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java index 043e5c3f0d..043fdc08c1 100644 --- a/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java +++ b/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java @@ -166,8 +166,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, destroyCaches(); } - @SuppressWarnings("deprecation") - private void allocateCaches() { + private void allocateCaches() { if (this.clusterContainerService == null) { log.info("un-initialized clusterContainerService, can't create cache"); return; @@ -183,7 +182,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, } } - @SuppressWarnings({ "unchecked", "deprecation" }) + @SuppressWarnings({ "unchecked" }) private void retrieveCaches() { if (this.clusterContainerService == null) { log.info("un-initialized clusterContainerService, can't retrieve cache"); @@ -197,8 +196,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify, } } - @SuppressWarnings("deprecation") - private void destroyCaches() { + private void destroyCaches() { if (this.clusterContainerService == null) { log.info("un-initialized clusterContainerService, can't destroy cache"); return;