Bump mdsal to 5.0.2
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / actions / SetDlSrcActionSerializer.java
index 5b73b4f1ca83d33ad43b85dcca716a1a02942874..9bad33dd4d7f66fa6b150b6dfd55e186968cee81 100644 (file)
@@ -24,7 +24,7 @@ public class SetDlSrcActionSerializer extends AbstractSetFieldActionSerializer {
                 .setSetField(new SetFieldBuilder()
                         .setEthernetMatch(new EthernetMatchBuilder()
                                 .setEthernetSource(new EthernetSourceBuilder()
-                                        .setAddress(SetDlSrcActionCase.class.cast(input).getSetDlSrcAction()
+                                        .setAddress(((SetDlSrcActionCase) input).getSetDlSrcAction()
                                                 .getAddress())
                                         .build())
                                 .build())