jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: hasProperty vs getProperty
Date Fri, 20 Jul 2012 12:58:58 GMT
On 2012-07-20 14:41, Alexander Klimetschek wrote:
> On 20.07.2012, at 09:01, Julian Reschke wrote:
>
>> I agree with that, but that's how JCR works.
>
> Well, you have both options: if you use the has*() or (item|property|node)Exists() methods,
and since PNFEx inherits from RepositoryEx, you can skip the try/catch for the application
logic.

That "works", but causes lots of unneeded work in the implementation; 
which is exactly why I started this discussion.

Best regards, Julian


Mime
View raw message