There was a problem [1] with the getAddressCount() method - it
returned an int, however the count of addresses could be larger than
Integer.MAX_VALUE.
To preserve binary compat, I added a new method

long getAddressCountLong()

However, I'm not entirely happy with the new name; it seems a bit long
and untidy.

Any suggestions for a new shorter name?

The method [original code: 2] returns the count of availalable
addresses for a given netmask.
[Optionally including the network and broadcast addresses]

[1] https://issues.apache.org/jira/browse/NET-521
[2] 
http://commons.apache.org/proper/commons-net/xref/org/apache/commons/net/util/SubnetUtils.html#162

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to