X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Finternal%2FReadServiceFilter.java;h=7f9a13e92ac3be846342a7615e37ec658d8b9fa0;hp=b8f6ab471525d9f0bb633912fc52982ca8b3cf3e;hb=1f46115777f3dfe4ed653ea2c06cd3fe637fb122;hpb=0df356fd6dd1e24f82a4afaa6c824517d354fb20 diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/ReadServiceFilter.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/ReadServiceFilter.java index b8f6ab4715..7f9a13e92a 100644 --- a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/ReadServiceFilter.java +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/ReadServiceFilter.java @@ -587,9 +587,7 @@ public class ReadServiceFilter implements IReadServiceFilter, IContainerListener flowOnNodeList = filterFlowListPerContainer(container, node, flowOnNodeList); // notify listeners - if (!flowOnNodeList.isEmpty()) { - l.getValue().nodeFlowStatisticsUpdated(node, flowOnNodeList); - } + l.getValue().nodeFlowStatisticsUpdated(node, flowOnNodeList); } } @@ -606,9 +604,8 @@ public class ReadServiceFilter implements IReadServiceFilter, IContainerListener .getNodeConnectorStatsList(); // notify listeners - if (!ncStatsList.isEmpty()) { - l.getValue().nodeConnectorStatisticsUpdated(node, ncStatsList); - } + l.getValue().nodeConnectorStatisticsUpdated(node, ncStatsList); + } } @@ -625,9 +622,7 @@ public class ReadServiceFilter implements IReadServiceFilter, IContainerListener .getNodeTableStatsList(); // notify listeners - if (!tableStatsList.isEmpty()) { - l.getValue().nodeTableStatisticsUpdated(node, tableStatsList); - } + l.getValue().nodeTableStatisticsUpdated(node, tableStatsList); } } }