jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1309458 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Date Thu, 05 Apr 2012 08:38:05 GMT

On Thu, Apr 5, 2012 at 9:43 AM, Stefan Guggisberg
<stefan.guggisberg@gmail.com> wrote:
> you're right, but in this particular case i replaced a dummy getNodes() call
> in a try/catch block with a single nodeExists() call returning a boolean.
> i'd argue that the code is cleaner and probably not slower ;)

Right, I was confusing this with an earlier KernelNodeState design
that repeated the getNodes() call in the constructor. Sorry for the


Jukka Zitting

View raw message