Fix sal-remoterpc-connector checkstyle 22/107622/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Aug 2023 15:01:38 +0000 (17:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 17 Sep 2023 12:40:51 +0000 (14:40 +0200)
Upgraded checkstyle is flagging a few nested classes as potentially
final, fix that up.

Change-Id: Ie3835769d50e3a692644fc0dbed480e6c4d5f2de
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 8ed828bb0f5cbc52ae6d217e71d3eba844222ee2)

opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java

index ed6d12c34d6883d22905ae7f9d025164a8122688..fc364015986085d7351a8ebe9a58d186af1da3d3 100644 (file)
@@ -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<T> {
+    private static final class T implements BucketData<T> {
         @Override
         public Optional<ActorRef> getWatchActor() {
             return Optional.empty();