Deprecate ForwardedBackwardsCompatibleDataBroker 49/13049/1
authorRobert Varga <rovarga@cisco.com>
Fri, 21 Nov 2014 16:55:30 +0000 (17:55 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 21 Nov 2014 17:10:26 +0000 (18:10 +0100)
It implements a deprecated API only, so rather than suppressing the
deprecation warnings, deprecate the entire class.

Change-Id: If7159c3960b3ca2707bb4b9c716e95ed38ddb394
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/ForwardedBackwardsCompatibleDataBroker.java

index f8bc204..d7763d8 100644 (file)
@@ -52,7 +52,7 @@ import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@SuppressWarnings("deprecation")
+@Deprecated
 public class ForwardedBackwardsCompatibleDataBroker extends AbstractForwardedDataBroker implements DataProviderService, AutoCloseable {
 
     private static final Logger LOG = LoggerFactory.getLogger(ForwardedBackwardsCompatibleDataBroker.class);