Update MRI projects for Aluminium
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / multipart / tablefeatures / ApplyActionsTablePropertySerializer.java
index d9689db68c45e7acb87bdec2b5e0f59a65460cf5..2bda2d9ebadf78bc62b3452811141a42d14e7e9a 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.ApplyActions;
 
-public class ApplyActionsTablePropertySerializer extends AbstractTablePropertySerializer<ApplyActions> implements SerializerRegistryInjector {
+public class ApplyActionsTablePropertySerializer extends AbstractTablePropertySerializer<ApplyActions> implements
+        SerializerRegistryInjector {
 
     private SerializerRegistry registry;
 
@@ -26,7 +27,8 @@ public class ApplyActionsTablePropertySerializer extends AbstractTablePropertySe
     protected void serializeProperty(final ApplyActions property, final ByteBuf byteBuf) {
         property
                 .getApplyActions()
-                .getAction()
+                .nonnullAction()
+                .values()
                 .stream()
                 .sorted(OrderComparator.build())
                 .map(Action::getAction)