done: https://issues.apache.org/jira/browse/WICKET-2568

regards,


igor.vaynberg wrote:
> 
> jira issue please
> 
> -igor
> 
> On Mon, Nov 9, 2009 at 5:53 AM, Michael Sparer <[email protected]>
> wrote:
>> Hey,
>>
>> I could have sworn that if a IDataProvider used in a DataView returns 0
>> as
>> size, the iterator(int,int) method won't be called. But that assumption
>> proved me wrong some minutes ago. Is there any specific reason why
>> iterator
>> gets called when the only possible result is an empty Iterator? Wouldn't
>> it
>> be more sensible to assume an empty iterator if size() returns 0 and
>> leave
>> out the method call?
>>
>> regards,
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 


-----
Michael Sparer
http://techblog.molindo.at
-- 
View this message in context: 
http://old.nabble.com/Unnecessary-method-calls-in-IDataProvider--tp26266771p26282885.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to