Bump mdsal to 5.0.2
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / services / batch / FlatBatchGroupAdapters.java
index bf38a2c49918df07e00be246320e45159252a70a..90d4c6805adf78f941751f4ec13ec40482f9a5fa 100644 (file)
@@ -142,7 +142,7 @@ public final class FlatBatchGroupAdapters {
         if (input.getResult().getBatchFailedGroupsOutput() != null) {
             for (BatchFailedGroupsOutput stepOutput : input.getResult().getBatchFailedGroupsOutput()) {
                 final BatchFailure batchFailure = new BatchFailureBuilder()
-                        .setBatchOrder(stepOffset + stepOutput.getBatchOrder())
+                        .setBatchOrder(stepOffset + stepOutput.getBatchOrder().toJava())
                         .setBatchItemIdChoice(new FlatBatchFailureGroupIdCaseBuilder()
                                 .setGroupId(stepOutput.getGroupId())
                                 .build())