thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reiss (JIRA)" <j...@apache.org>
Subject [jira] Commented: (THRIFT-677) IntRangeSet.java ignores first element in the constructor array
Date Thu, 14 Jan 2010 17:32:54 GMT

    [ 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.


Mime
View raw message