Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-405 Support for IPv6 in SubnetUtils
  3. NET-630

NET-630 Changed SubnetUtils for NEW SubnetInfo subclass

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      The constructors of this class has been modified to create a object of subnet summary information.
      Also, added two new static methods to create the object.

      Change log

      3/24/17

      • Replace The SubnetInfo subclass of SubnetUtils
        • SubnetUtils.SubnetInfo works as the abstract class of IP4Subnet and IP6Subnet
      • A few methods of SubnetUtils, rangeCheck, pop, and format, were moved into the SubnetInfo subclass
      • The getAddressCount and getAllAddresses methods were reimplemented
        • For compatibility
      • Moved IP4Subnet and IP6Subnet classes into the until package

      3/23/17

      • Renamed getAddressCount() to getAddressCountString()
        • The old name, getAddressCount(), was the obsoleted name and confused others
      • Removed the insignificant value representation, which are no reasons to be defined in this class
      • Changes the path to SubnetInfo (SubnetUtilsExample.java and SubnetUtilsTest.java)
      • Replaced getAddressCount to getAddressLong in the SubnetUtilsTest class
      • Improved comments

      https://github.com/apache/commons-net/pull/25

      Attachments

        Activity

          People

            Unassigned Unassigned
            Umoxfo Makoto Sakaguchi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: