Use ByteBuf.readRetainedSlice()
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / action / cases / SalToOfSetDlDstActionV10Case.java
index 31e70c66b4f21880ffdc0120a0c85117a191c794..ccb16bb8c8fc60f45ba1ac1f066b8b348e9c089b 100644 (file)
@@ -9,7 +9,7 @@
 package org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.cases;
 
 import java.util.Optional;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.openflowplugin.api.OFConstants;
 import org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.ConvertorExecutor;
 import org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.data.ActionConvertorData;
@@ -26,9 +26,10 @@ public class SalToOfSetDlDstActionV10Case extends ConvertorCase<SetDlDstActionCa
         super(SetDlDstActionCase.class, true, OFConstants.OFP_VERSION_1_0);
     }
 
-    @Nonnull
+    @NonNull
     @Override
-    public Optional<Action> process(@Nonnull final SetDlDstActionCase source, final ActionConvertorData data, ConvertorExecutor convertorExecutor) {
+    public Optional<Action> process(@NonNull final SetDlDstActionCase source, final ActionConvertorData data,
+            ConvertorExecutor convertorExecutor) {
         SetDlDstAction setdldstaction = source.getSetDlDstAction();
         SetDlDstCaseBuilder setDlDstCaseBuilder = new SetDlDstCaseBuilder();
         SetDlDstActionBuilder setDlDstActionBuilder = new SetDlDstActionBuilder();