Make a method static 27/31427/2
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Dec 2015 14:28:32 +0000 (15:28 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 16 Dec 2015 21:43:54 +0000 (21:43 +0000)
This test method can be made static, make it so to fix an eclipse
warning (with strict warnings).

Change-Id: I492f31782ff2be712d66ce9823bf32db2bc394e1
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractShardTest.java

index 39fe452..9d313a5 100644 (file)
@@ -298,7 +298,7 @@ public abstract class AbstractShardTest extends AbstractActorTest{
         return prepareBatchedModifications(transactionID, modification, false);
     }
 
-    private BatchedModifications prepareBatchedModifications(String transactionID,
+    private static BatchedModifications prepareBatchedModifications(String transactionID,
                                                              MutableCompositeModification modification,
                                                              boolean doCommitOnReady) {
         final BatchedModifications batchedModifications = new BatchedModifications(transactionID, CURRENT_VERSION, null);