Changed getActions() to just take the action list from ApplyActions if found instead of creating a new list, as ApplyActions may only appear once.
diff --git a/java_gen/templates/custom/OFFlowAddVer13_getActions.java b/java_gen/templates/custom/OFFlowAddVer13_getActions.java
index 3b56d52..eb7799a 100644
--- a/java_gen/templates/custom/OFFlowAddVer13_getActions.java
+++ b/java_gen/templates/custom/OFFlowAddVer13_getActions.java
@@ -1,12 +1,11 @@
 
     @Override
     public List<OFAction> getActions()throws UnsupportedOperationException {
-        ImmutableList.Builder<OFAction> builder = ImmutableList.builder();
         for (OFInstruction inst : this.instructions) {
             if (inst instanceof OFInstructionApplyActions) {
                 OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
-                builder.addAll(iap.getActions());
+                return iap.getActions();
             }
         }
-        return builder.build();
+        return Collections.emptyList();
     }
\ No newline at end of file