jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: NodeTypeDefinition.getDeclaredPropertyDefinitions() contract weirdness!?
Date Fri, 14 Sep 2012 10:46:51 GMT
Hi,

On Fri, Sep 14, 2012 at 10:36 AM, Michael Dürig <mduerig@apache.org> wrote:
> Why null and not an empty array? Is there a case supporting this behaviour
> or is this just the implementation leaking into the spec.?

IIRC the idea was to distinguish between the cases where there are no
definitions (empty array) and where no definition information is yet
available (null, the template is still being constructed).

BR,

Jukka Zitting

Mime
View raw message