Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / parallelapsp / test / AbstractParallelAPSPTest.java
index 7deb1efb55c5ae68c2016a7c1816eba27b8b2de4..4f1664ad46665a170e8f00fb695b455dfd93fd07 100644 (file)
@@ -9,21 +9,20 @@ package org.opendaylight.controller.config.manager.testingservices.parallelapsp.
 
 import javax.management.InstanceAlreadyExistsException;
 import javax.management.ObjectName;
-
-import org.opendaylight.controller.config.manager.impl.AbstractConfigWithJolokiaTest;
+import org.opendaylight.controller.config.manager.impl.AbstractConfigTest;
 import org.opendaylight.controller.config.manager.testingservices.parallelapsp.TestingParallelAPSPConfigMXBean;
 import org.opendaylight.controller.config.manager.testingservices.parallelapsp.TestingParallelAPSPModuleFactory;
 import org.opendaylight.controller.config.manager.testingservices.threadpool.TestingFixedThreadPoolConfigMXBean;
 import org.opendaylight.controller.config.util.ConfigTransactionJMXClient;
 
-abstract class AbstractParallelAPSPTest extends AbstractConfigWithJolokiaTest {
+public abstract class AbstractParallelAPSPTest extends AbstractConfigTest {
     protected final String fixed1 = "fixed1";
     protected final String apsp1 = "apsp-parallel";
 
-    abstract String getThreadPoolImplementationName();
+    protected abstract String getThreadPoolImplementationName();
 
     protected ObjectName createParallelAPSP(
-            ConfigTransactionJMXClient transaction, ObjectName threadPoolON)
+            final ConfigTransactionJMXClient transaction, final ObjectName threadPoolON)
             throws InstanceAlreadyExistsException {
         ObjectName apspName = transaction.createModule(
                 TestingParallelAPSPModuleFactory.NAME, apsp1);
@@ -34,8 +33,9 @@ abstract class AbstractParallelAPSPTest extends AbstractConfigWithJolokiaTest {
         return apspName;
     }
 
-    protected ObjectName createFixed1(ConfigTransactionJMXClient transaction,
-            int numberOfThreads) throws InstanceAlreadyExistsException {
+    protected ObjectName createFixed1(final ConfigTransactionJMXClient transaction,
+            final int numberOfThreads) throws InstanceAlreadyExistsException {
+
         ObjectName name = transaction.createModule(
                 getThreadPoolImplementationName(), fixed1);