Update MRI upstreams for Phosphorus
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / GetFeaturesOutputFactoryTest.java
index 65953bfb8a1b231084b0ccfceca4cfbb0758bada..8f9cdfc5f85e57c385224f060df53bf1b55541e3 100644 (file)
@@ -35,7 +35,7 @@ public class GetFeaturesOutputFactoryTest {
         SerializerRegistry registry = new SerializerRegistryImpl();
         registry.init();
         factory = registry
-                .getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, GetFeaturesOutput.class));
+                .getSerializer(new MessageTypeKey<>(EncodeConstants.OF_VERSION_1_3, GetFeaturesOutput.class));
     }
 
     @Test
@@ -65,7 +65,7 @@ public class GetFeaturesOutputFactoryTest {
         Assert.assertEquals("Wrong reserved", message.getReserved().longValue(), serializedBuffer.readInt());
     }
 
-    private static Capabilities createCapabilities(int input) {
+    private static Capabilities createCapabilities(final int input) {
         final Boolean one = (input & 1 << 0) > 0;
         final Boolean two = (input & 1 << 1) > 0;
         final Boolean three = (input & 1 << 2) > 0;