commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-625) SubnetUtils - improve construction
Date Sat, 11 Mar 2017 14:57:04 GMT
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)

Mime
View raw message