From 91c77815a47b2f8f9e1a2a1f6a53a770e5ed42dd Mon Sep 17 00:00:00 2001 From: Colin Dixon Date: Thu, 24 Oct 2013 12:38:39 -0500 Subject: [PATCH] Removing suppress annotations to fix warnings. We no longer need the @SuppressWarnings for "deprecated" Change-Id: I42fb70ff6bf3a41c05611884bc0554f2d8615da8 Signed-off-by: Colin Dixon --- .../simpleforwarding/internal/SimpleForwardingImpl.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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; -- 2.36.6