They are there to aid readability. Sometimes opt.isNotSet is more readable the opt.isNull
-igor On Jan 5, 2011 11:49 AM, "Martin Grigorov" <mgrigo...@apache.org> wrote: I am one of those that use NoopAjaxRequestTarget. I like the approach. It is clear that the parameter may be null and you cannot forget to make the check. What is the reason to have both isNull/isNotNull and isSet/isNotSet? I think just isSet() is enough. It is quite easy to do "if (!isSet()) {return;} On Wed, Jan 5, 2011 at 7:49 PM, Igor Vaynberg <igor.vaynb...@gmail.com >wrote: > we have adopted a required-by-default style, which is correct imho. > only a few places in our co...