commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-621) SubnetUtils#SubnetInfo - remove unnecessary accessors
Date Fri, 03 Mar 2017 17:17:45 GMT

     [ https://issues.apache.org/jira/browse/NET-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-621.
----------------------
       Resolution: Fixed
    Fix Version/s: 3.7

URL: http://svn.apache.org/viewvc?rev=1785356&view=rev
Log:
NET-621 SubnetUtils#SubnetInfo - remove unnecessary accessors

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java



> SubnetUtils#SubnetInfo - remove unnecessary accessors
> -----------------------------------------------------
>
>                 Key: NET-621
>                 URL: https://issues.apache.org/jira/browse/NET-621
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Makoto Sakaguchi
>            Priority: Minor
>             Fix For: 3.7
>
>
> The below methods do not actually work.
> - private int netmask()       \{ return netmask; \}
> - private int network()       \{ return network; \}
> - private int address()       \{ return address; \}
> - private int broadcast()     \{ return broadcast; \}
> So, I suggest to remove them.
> https://github.com/apache/commons-net/pull/8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message