X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fcompatibility%2Fsal-compatibility%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcompatibility%2Fadsal%2FFlowStatisticsAdapter.java;h=4bc23fe33b0b9a7c1709d5440700f7b56d28c0ed;hp=149544b6c4e76509af96635ccc7fd21423dc9935;hb=405ea7ce68d22bd3d2501857c5253793b581b086;hpb=b97e2841f2c297b5e1691cf970d26a0e8d40953d diff --git a/opendaylight/md-sal/compatibility/sal-compatibility/src/main/java/org/opendaylight/controller/sal/compatibility/adsal/FlowStatisticsAdapter.java b/opendaylight/md-sal/compatibility/sal-compatibility/src/main/java/org/opendaylight/controller/sal/compatibility/adsal/FlowStatisticsAdapter.java index 149544b6c4..4bc23fe33b 100644 --- a/opendaylight/md-sal/compatibility/sal-compatibility/src/main/java/org/opendaylight/controller/sal/compatibility/adsal/FlowStatisticsAdapter.java +++ b/opendaylight/md-sal/compatibility/sal-compatibility/src/main/java/org/opendaylight/controller/sal/compatibility/adsal/FlowStatisticsAdapter.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ package org.opendaylight.controller.sal.compatibility.adsal; import java.math.BigInteger; @@ -135,7 +142,7 @@ public class FlowStatisticsAdapter implements OpendaylightFlowStatisticsService, try { Node node = NodeMapping.toADNode(input.getNode()); - Flow flow = ToSalConversionsUtils.toFlow(input); + Flow flow = ToSalConversionsUtils.toFlow(input, null); FlowOnNode readFlow = readDelegate.readFlow(node, flow); List flowOnNodeToFlowStatistics = new ArrayList(); flowOnNodeToFlowStatistics.add(toOdFlowStatistics(readFlow));