commit | 548891ffdd2c6b57cf4f74358e7e32b79eb46372 | [log] [tgz] |
---|---|---|
author | Ayaka Koshibe <ayaka@onlab.us> | Wed Sep 17 13:57:00 2014 -0700 |
committer | Ayaka Koshibe <ayaka@onlab.us> | Wed Sep 17 13:57:00 2014 -0700 |
tree | 4d031b7fbd4d4ea1785adba5ba4c69c0a3547fd8 | |
parent | 414196d1d48bb15946957a27109629e6f34ee397 [diff] |
FlowId's valueOf should be static. Change-Id: I585c1e2ea2eba48b9fac92117354495f0d7b2e8a
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java index d4e32a8..03140f7 100644 --- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java +++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
@@ -11,7 +11,7 @@ this.flowid = id; } - public FlowId valueOf(int id) { + public static FlowId valueOf(int id) { return new FlowId(id); }