commit | c85b5c53c6a30d969a2a72e9ff2d58b088b8df70 | [log] [tgz] |
---|---|---|
author | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Tue Sep 24 13:01:43 2013 -0700 |
committer | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Tue Sep 24 13:01:43 2013 -0700 |
tree | 14d4622f75144d2d79d0fd9332634d0f0c1ffefd | |
parent | dcb59da7a1d15d35fd409c7de23e4eb466ddc853 [diff] |
IPAddresses: fix accidental use of byte[].toString()
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4Address.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4Address.java index 5ef301b..0a8994a 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4Address.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4Address.java
@@ -26,7 +26,7 @@ public static IPv4Address of(final byte[] address) { if (address.length != LENGTH) { throw new IllegalArgumentException( - "Invalid byte array length for IPv4Address address: " + address); + "Invalid byte array length for IPv4Address address: " + address.length); } int raw =
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv6Address.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv6Address.java index ea71c65..8afdaba 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv6Address.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv6Address.java
@@ -31,7 +31,7 @@ public static IPv6Address of(final byte[] address) { if (address.length != LENGTH) { throw new IllegalArgumentException( - "Invalid byte array length for IPv6 address: " + address); + "Invalid byte array length for IPv6 address: " + address.length); } long raw1 =