commit | 75a5bd9007f02034169eec5f33844924690ae3b5 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Nov 25 11:22:56 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Nov 25 21:53:26 2014 +0000 |
tree | eee2fee040ab476cd495092f2313658065a7222b | |
parent | e3cc0b9f4587eb2c5daae03c3afb4811d87abc87 [diff] [blame] |
Change return type of groupId() in FlowRule not to misusing underlying type Change-Id: Ide90973380f79046650bc372b9ecee00cb290f6a
diff --git a/core/net/src/main/java/org/onlab/onos/net/statistic/impl/StatisticManager.java b/core/net/src/main/java/org/onlab/onos/net/statistic/impl/StatisticManager.java index fd4b741..f1ac9b16 100644 --- a/core/net/src/main/java/org/onlab/onos/net/statistic/impl/StatisticManager.java +++ b/core/net/src/main/java/org/onlab/onos/net/statistic/impl/StatisticManager.java
@@ -357,7 +357,7 @@ } // FIXME: The left hand type and right hand type don't match // FlowEntry.groupId() still returns a short value, not int. - return flowEntry.groupId() == groupId.get().id(); + return flowEntry.groupId().equals(groupId.get()); } }; }