X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fservices%2Fsinglelayer%2FSingleLayerAggregateFlowMultipartService.java;h=cb24aa446b555999001d096a104bb614c6306fe4;hb=a7d93dd9e51a10d5e5d5357c32dbd304d2fe717e;hp=e118a7f1078f976e72cd712ce90057a0ceaafc05;hpb=53ed4faac4fbc33d16a7db92689653009579cef0;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/singlelayer/SingleLayerAggregateFlowMultipartService.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/singlelayer/SingleLayerAggregateFlowMultipartService.java index e118a7f107..cb24aa446b 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/singlelayer/SingleLayerAggregateFlowMultipartService.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/singlelayer/SingleLayerAggregateFlowMultipartService.java @@ -66,8 +66,7 @@ public class SingleLayerAggregateFlowMultipartService .filter(MultipartReplyFlowAggregateStats.class::isInstance) .map(multipartReplyBody -> new AggregatedFlowStatisticsBuilder( - MultipartReplyFlowAggregateStats.class - .cast(multipartReplyBody)) + (MultipartReplyFlowAggregateStats) multipartReplyBody) .build()) .collect(Collectors.toList()))) .build();