Fix checkstyle reported by odlparent-3.0.0
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / databroker / actors / dds / TestUtils.java
index 977ada54e63f7e47640d5a98e7d08b19676efb57..092d262ae8fe034ccc83d073a4b585a961a3713f 100644 (file)
@@ -17,7 +17,11 @@ import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifie
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
-class TestUtils {
+final class TestUtils {
+    @FunctionalInterface
+    public interface RunnableWithException {
+        void run() throws Exception;
+    }
 
     static final MemberName MEMBER_NAME = MemberName.forName("member-1");
     static final FrontendType FRONTEND_TYPE = FrontendType.forName("type-1");
@@ -26,13 +30,12 @@ class TestUtils {
     static final LocalHistoryIdentifier HISTORY_ID = new LocalHistoryIdentifier(CLIENT_ID, 0L);
     static final TransactionIdentifier TRANSACTION_ID = new TransactionIdentifier(HISTORY_ID, 0L);
 
-    @FunctionalInterface
-    public interface RunnableWithException {
-        void run() throws Exception;
-    }
-
     private static final long TIMEOUT = 3;
 
+    private TestUtils() {
+
+    }
+
     /**
      * Asserts, that future result when it completes is equal to given object.
      * Future must complete in {@link TestUtils#TIMEOUT} seconds.