Bump mdsal to 5.0.2
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / actions / SetDlDstActionSerializer.java
index 471118bfd93627fed0ab35efbebb82f5bca013e6..1e1d33771be90664adf34a21c2f9217b48b5b16f 100644 (file)
@@ -24,7 +24,8 @@ public class SetDlDstActionSerializer extends AbstractSetFieldActionSerializer {
                 .setSetField(new SetFieldBuilder()
                         .setEthernetMatch(new EthernetMatchBuilder()
                                 .setEthernetDestination(new EthernetDestinationBuilder()
-                                        .setAddress(SetDlDstActionCase.class.cast(input).getSetDlDstAction().getAddress())
+                                        .setAddress(((SetDlDstActionCase) input).getSetDlDstAction()
+                                                .getAddress())
                                         .build())
                                 .build())
                         .build())