IpAddress and IpPrefix related cleanup:
* Removed IpAddress.MAX_INET_MASK and use IpPrefix.MAX_INET_MASK_LENGTH instead * Renamed IpAddress.INET_LEN to INET_BYTE_LENGTH * Added IpAddress.INET_BIT_LENGTH, INET6_BYTE_LENGTH, and INET6_BIT_LENGTH * Removed methods that are semantically incorrect, or are not needed/used - IpAddress.prefixLength() - IpAddress.toPrefix() - IpAddress.mask() - IpAddress.netmask() - IpAddress.network() - IpAddress.host() - IpAddress.isMasked() - IpAddress.contains() - IpPrefix constructor for version and bytes (but no netmask) - IpPrefix.valueOf(int) * Misc. other cleanup.
Showing
10 changed files
with
80 additions
and
110 deletions
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment