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: How should the current Tree and NodeState apis behave in the case of a null child name?
Date Tue, 19 Feb 2013 09:19:32 GMT
Hi,

On Tue, Feb 19, 2013 at 11:14 AM, Alex Parvulescu
<alex.parvulescu@gmail.com> wrote:
> I'm looking at the Tree and the NodeState interfaces, I see a lot of api
> docs about the returned value but no constraints about the input child name.
> Is null considered a valid input?

Null doesn't make any sense there, so I'd consider it invalid. Empty
strings should probably be treated equally.

BR,

Jukka Zitting

Mime
View raw message