Update MRI projects for Aluminium
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / multipart / tablefeatures / WriteActionsTablePropertySerializer.java
index c0e96fd3ecb4d996f6115885e8675750786cdea0..f990fba6ce3602f5d815086570e0e0c0e55f7bd4 100644 (file)
@@ -18,7 +18,8 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.Acti
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.TableFeaturesPropType;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table.feature.prop.type.table.feature.prop.type.WriteActions;
 
-public class WriteActionsTablePropertySerializer extends AbstractTablePropertySerializer<WriteActions> implements SerializerRegistryInjector {
+public class WriteActionsTablePropertySerializer extends AbstractTablePropertySerializer<WriteActions> implements
+        SerializerRegistryInjector {
 
     private SerializerRegistry registry;
 
@@ -26,7 +27,8 @@ public class WriteActionsTablePropertySerializer extends AbstractTablePropertySe
     protected void serializeProperty(final WriteActions property, final ByteBuf byteBuf) {
         property
                 .getWriteActions()
-                .getAction()
+                .nonnullAction()
+                .values()
                 .stream()
                 .sorted(OrderComparator.build())
                 .map(Action::getAction)