On Tue, Jul 21, 2009 at 2:17 PM, Curtiss Howard<curtiss.how...@gmail.com> wrote:
> On Tue, Jul 21, 2009 at 8:12 AM, Matthias Wessendorf<mat...@apache.org> wrote:
>>> So, how should this be approached?  Fix DataScrollerList or change
>>> UIData.getRows() to be more tolerant (i.e., cast the result to Number
>>> and call .intValue())?
>>
>> .intValue() would be fine w/ me. TCK should be fine with that as well,
>> I guess...
>>
>
> Hmm.  The more I think about this, the more I think that maybe the TCK
> wouldn't (or shouldn't) be OK with it.  After all, you could pass in a
> double or float for a property that's supposed to be an integer.
> Maybe the example should be changed after all.  I don't see any good
> reason why a long is being used.

yes, true. I switched my mind. I don't see any reason for long as well.

>
>
> Curtiss Howard
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to