commit | 8a0b53c9a5221432c9b34f7b95b44ccc692b8346 | [log] [tgz] |
---|---|---|
author | Ronald Li <ronald.li@bigswitch.com> | Sat Jul 05 02:33:43 2014 -0700 |
committer | Ronald Li <ronald.li@bigswitch.com> | Sat Jul 05 02:33:43 2014 -0700 |
tree | 3114c82cd19e0b810bc5ef428bf1e57834974db6 | |
parent | 5d0ca65b9ad8ba1688483b2d6a904816db405d7e [diff] |
Deprecate IPv4AddressWithMask.of(int,int) Replaced by IPv4Address.of(int) + IPv4Address.withMask(int)
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4AddressWithMask.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4AddressWithMask.java index 31b4455..ada0d58 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4AddressWithMask.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4AddressWithMask.java
@@ -31,8 +31,11 @@ * @return an {@code IPv4AddressWithMask} object that represents * the given raw IP address masked by the given raw IP * address mask + * @deprecated replaced by {@link IPv4Address#of(int)} followed by + * {@link IPv4Address#withMask(int)} */ @Nonnull + @Deprecated public static IPv4AddressWithMask of(final int rawValue, final int rawMask) { return new IPv4AddressWithMask(rawValue, rawMask); }