Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bulk-add copyright headers to .xtend files
[controller.git]
/
opendaylight
/
md-sal
/
compatibility
/
flow-management-compatibility
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
md
/
frm
/
compatibility
/
SampleConsumer.java
diff --git
a/opendaylight/md-sal/compatibility/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/SampleConsumer.java
b/opendaylight/md-sal/compatibility/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/SampleConsumer.java
index a82eedc3f95156c0980e7f5ce580faf6a16387c8..2fbe0a02025bbff6afc0eb020fa59fb6587dcc50 100644
(file)
--- a/
opendaylight/md-sal/compatibility/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/SampleConsumer.java
+++ b/
opendaylight/md-sal/compatibility/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/SampleConsumer.java
@@
-31,7
+31,7
@@
public class SampleConsumer {
Flow createSampleFlow(String name, NodeRef node) {
FlowBuilder ret = new FlowBuilder();
Flow createSampleFlow(String name, NodeRef node) {
FlowBuilder ret = new FlowBuilder();
- FlowKey key = new FlowKey(
name
, node);
+ FlowKey key = new FlowKey(
Long.parseLong(name)
, node);
ret.setKey(key);
return ret.build();
}
ret.setKey(key);
return ret.build();
}