Mark potentially-static methods as static
[genius.git] / mdsalutil / mdsalutil-api / src / test / java / org / opendaylight / genius / mdsalutil / actions / ActionSetIcmpv6TypeTest.java
index 70fb4a0169c2fcd1d2d9c463ac96682f199927f1..6e3a5c03325b6f90591917eaa8177d3a25c050e0 100644 (file)
@@ -24,14 +24,14 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026
 public class ActionSetIcmpv6TypeTest {
     private static final short TYPE = (short) 129;
 
-    private XtendBeanGenerator generator = new XtendBeanGenerator();
+    private final XtendBeanGenerator generator = new XtendBeanGenerator();
 
     @Test
     public void actionInfoTest() {
         verifyAction(new ActionSetIcmpv6Type(TYPE).buildAction());
     }
 
-    private void verifyAction(Action action) {
+    private static void verifyAction(Action action) {
         assertTrue(action.getAction() instanceof SetFieldCase);
         SetFieldCase actionCase = (SetFieldCase) action.getAction();
         assertNotNull(actionCase.getSetField().getIcmpv6Match());