jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Values vs null
Date Tue, 24 Jun 2008 09:57:14 GMT
Hi,

I just noticed that the jcr-commons Value implementations (such as 
DoubleValue) seems to allow constructing Value objects where the 
internal value is null, and then consequently throw Exceptions when an 
attempt is made to retrieve the value.

Shouldn't these fail early instead (when constructing the Value)?

BR, Julian


Mime
View raw message