jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mic...@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:22:02 GMT
+1
Michael
On Feb 19, 2013 9:20 AM, "Jukka Zitting" <jukka.zitting@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message