You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2010/01/14 18:32:54 UTC
[jira] Commented: (THRIFT-677) IntRangeSet.java ignores first
element in the constructor array
[ https://issues.apache.org/jira/browse/THRIFT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800263#action_12800263 ]
David Reiss commented on THRIFT-677:
------------------------------------
There is not a good reason for this.
> IntRangeSet.java ignores first element in the constructor array
> ---------------------------------------------------------------
>
> Key: THRIFT-677
> URL: https://issues.apache.org/jira/browse/THRIFT-677
> Project: Thrift
> Issue Type: Bug
> Components: Library (Java)
> Reporter: Enis Soztutar
> Attachments: intrangeset_v1.patch
>
>
> Although IntRangeSet is no more used since generation of enums using native java enums, the class is still used by legacy code.
> The constructor for IntRangeSet does not put the first element in the given array to the realSet, which results in incorrect behavior.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.