commit | 6edf12270c453d61e0ab375b58601fb44e26b8b6 | [log] [tgz] |
---|---|---|
author | Byungjoon Lee <bjlee@etri.re.kr> | Wed Apr 23 15:25:06 2014 +0900 |
committer | Byungjoon Lee <bjlee@etri.re.kr> | Wed Apr 23 15:25:06 2014 +0900 |
tree | d7ec726f2e1af6d7b34e84212f7e50afcbace609 | |
parent | b4c38b8d8dc38f3dd25b1a901b95b62a30cd4f42 [diff] |
toString methods are overrided for ICMPv4Code and ICMPv4Type
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Code.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Code.java index 6466eee..ced5737 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Code.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Code.java
@@ -90,4 +90,9 @@ public void putTo(PrimitiveSink sink) { sink.putShort(code); } + + @Override + public String toString() { + return String.valueOf(this.code); + } }
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Type.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Type.java index a0aa152..634bc03 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Type.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/ICMPv4Type.java
@@ -200,4 +200,8 @@ sink.putShort(type); } + @Override + public String toString() { + return String.valueOf(this.type); + } }