From 8ed828bb0f5cbc52ae6d217e71d3eba844222ee2 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 30 Aug 2023 17:01:38 +0200 Subject: [PATCH] Fix sal-remoterpc-connector checkstyle Upgraded checkstyle is flagging a few nested classes as potentially final, fix that up. Change-Id: Ie3835769d50e3a692644fc0dbed480e6c4d5f2de Signed-off-by: Robert Varga --- .../remote/rpc/registry/gossip/BucketStoreTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java index ed6d12c34d..fc36401598 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java @@ -26,14 +26,12 @@ import org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig; import org.opendaylight.controller.remote.rpc.TerminationMonitor; public class BucketStoreTest { - /** * Dummy class to eliminate rawtype warnings. * * @author gwu - * */ - private static class T implements BucketData { + private static final class T implements BucketData { @Override public Optional getWatchActor() { return Optional.empty(); -- 2.36.6