You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Leo Sutic <le...@inspireinfrastructure.com> on 2002/02/01 09:17:54 UTC

RE: [VOTE] Add Store.size() method


> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
>
> >As regards the size() method, we can specify that it will return -1
> >if the underlying store does not support that method.

Would prefer if it returned 0. Whatever code uses the store, I can not
think of any reason why it would want to know that the store does not
support the operation. If the store returns 0 instead, then we have one
less special case.

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org