You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2017/03/11 14:57:04 UTC

[jira] [Created] (NET-625) SubnetUtils - improve construction

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)