jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Tests bad practises ? or specified in JCR ?
Date Mon, 26 Oct 2009 14:00:32 GMT
Hi,

On Mon, Oct 26, 2009 at 2:55 PM, sorel <johann.sorel@geomatys.fr> wrote:
> Or is it said in JCR that the result must be null rather than an empty array?

Yes:

    In implementations that support node type registration, if this
    NodeTypeDefinition object is actually a newly-created empty
    NodeTypeTemplate, then this method will return null.

http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/nodetype/NodeTypeDefinition.html

BR,

Jukka Zitting

Mime
View raw message