commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-630) NET-630 Add deprecated annotations to the original SubnetUtils
Date Thu, 23 Mar 2017 01:19:41 GMT

    [ https://issues.apache.org/jira/browse/NET-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937511#comment-15937511
] 

Sebb commented on NET-630:
--------------------------

Is it necessary to deprecate the existing SubnetUtils?
This will force users to recode their applications.

In Commons we strive for compatibility whenever possible.

So for example getAddressCount() has been replaced by getAddressCountLong().
However users can still call the original method, which will give the correct result (unless
it overflows).


> NET-630 Add deprecated annotations to the original SubnetUtils 
> ---------------------------------------------------------------
>
>                 Key: NET-630
>                 URL: https://issues.apache.org/jira/browse/NET-630
>             Project: Commons Net
>          Issue Type: Sub-task
>            Reporter: Makoto Sakaguchi
>
> It can also be replaced with new SubnetUtils class in the subnet package.
> https://github.com/apache/commons-net/pull/23



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

Mime
View raw message