jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Branch.move contract
Date Tue, 17 Apr 2012 15:15:57 GMT

I just noticed that move() defaults to "do nothing" for all kinds of 
error conditions:

- source not existing

- parent of target not existing

- target existing

At least the latter will require the JCR layer to do an existence check 
on the target before proceeding.

Is this intentional? What's the rational?

Best regards, Julian

View raw message