commit | 9d0786579f8e52dcacb1eb6e9f06f5a7ae42ac31 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Wed Nov 05 10:35:54 2014 -0800 |
committer | Ray Milkey <ray@onlab.us> | Wed Nov 05 10:35:54 2014 -0800 |
tree | 59c7725bb234226ea4adb37c6cb7cae59c6720ec | |
parent | f2b6721a8f650ffadc6efa9d6fcc512b027e9160 [diff] |
Change byte declarations to shorts to match new API Change-Id: I7524537b4f3405ad06ed6444133304de0a7814cf
diff --git a/core/api/src/test/java/org/onlab/onos/net/flow/criteria/CriteriaTest.java b/core/api/src/test/java/org/onlab/onos/net/flow/criteria/CriteriaTest.java index be3db92..6a23878 100644 --- a/core/api/src/test/java/org/onlab/onos/net/flow/criteria/CriteriaTest.java +++ b/core/api/src/test/java/org/onlab/onos/net/flow/criteria/CriteriaTest.java
@@ -96,8 +96,8 @@ Criterion sameAsMatchLambda1 = Criteria.matchLambda(lambda1); Criterion matchLambda2 = Criteria.matchLambda(lambda2); - byte signalLambda1 = 1; - byte signalLambda2 = 2; + short signalLambda1 = 1; + short signalLambda2 = 2; Criterion matchSignalLambda1 = Criteria.matchOpticalSignalType(signalLambda1); Criterion sameAsMatchSignalLambda1 = Criteria.matchOpticalSignalType(signalLambda1); Criterion matchSignalLambda2 = Criteria.matchOpticalSignalType(signalLambda2);