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. Curtiss Howard