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

John Sirois resolved AURORA-1651.
---------------------------------
    Resolution: Won't Fix
      Assignee: John Sirois

As [~wfarner] points out in the comments, there are reasons for this.  The 
killing of {{isSet*}} for collections though, which is buggy today, is 
proceeding in AURORA-1650.

> I* entity objects are lossy for primitive isSet-ness
> ----------------------------------------------------
>
>                 Key: AURORA-1651
>                 URL: https://issues.apache.org/jira/browse/AURORA-1651
>             Project: Aurora
>          Issue Type: Bug
>          Components: Build, Scheduler
>            Reporter: John Sirois
>            Assignee: John Sirois
>
> For example, {{ITaskQuery}} sets the {{offset}} and {{limit}} like so:
> {noformat}
>     this.offset = wrapped.getOffset();
>     this.limit = wrapped.getLimit();
> {noformat}
> There is no check to see if {{wrapped.isSetOffset}} or {{wrapped.isSetLimit}} 
> paired with use of a nullable wrapper type ({{Integer}} vs {{int}} in this 
> case) or an {{isSet}} bit vector.  As a result a round trip from thrift 
> struct to entity to thrift struct loses {{isSet}}-ness.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to