On 5/24/08, Julian Reschke <[EMAIL PROTECTED]> wrote:
> Tobias Bocanegra wrote:
>
> > ...
> > // writing the property:
> > if (date == null) {
> > if (node.hasProperty("xyz")) {
> > node.getProperty("xyz").remove();
> > }
> > } else {
> > node.setProperty("xyz", date);
> > }
> >
> > ...
>
> ...which is equivalent to:
>
> node.setProperty("xyz", date);
>
> (yes, for date==null the property is removed).
oh yes, right.
thanks for clarifying this.regards, toby
