Changes required to adopt new loxi APIs into legacy OFMatch:
1. Added value getters to new value types
2. Changed Match, MatchBuilder interfaces according to new desing
diff --git a/java_gen/templates/of_class.java b/java_gen/templates/of_class.java
index 772858a..9665c49 100644
--- a/java_gen/templates/of_class.java
+++ b/java_gen/templates/of_class.java
@@ -148,8 +148,8 @@
}
}
- public int writeTo(ChannelBuffer bb) {
- return WRITER.write(bb, this);
+ public void writeTo(ChannelBuffer bb) {
+ WRITER.write(bb, this);
}
final static Writer WRITER = new Writer();