You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/11/21 10:30:15 UTC

DO NOT REPLY [Bug 14306] - NullPointerException in CompareToBuilder

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14306>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14306

NullPointerException in CompareToBuilder





------- Additional Comments From yuri@zip.com.au  2002-11-21 09:30 -------
I came accross this bug as well, it really stops the CompareToBuilder being
useful and easy to use.  If there is a compelling reason why it shouldn't
support nulls (althogh it does when both null), then maybe a strict flag could
be added to another constructor, defaulting to strict in the no-args constructor.

Note, it aso affects the primitive array methods when they are called directly.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>