Fix sal-remoterpc-connector checkstyle 94/107594/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Aug 2023 15:01:38 +0000 (17:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Aug 2023 15:01:54 +0000 (17:01 +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>
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();