Sebb created NET-625:
------------------------
Summary: SubnetUtils - improve construction
Key: NET-625
URL: https://issues.apache.org/jira/browse/NET-625
Project: Commons Net
Issue Type: Improvement
Affects Versions: 3.6
Reporter: Sebb
The constructors for CIDR format and (address, mask) format both use the same
calculate() method. This assumes the input is in CIDR format, which means that
the constructor which handles (address, mask) format has to convert the strings
to binary and then recreate the CIDR format.
This is wasteful.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)