Hey, I wanted to use BooleanUtils.toBooleanDefaultIfNull method however I can see that it returns with:
return (bool.booleanValue() ? true : false); Shouldn't it be just: return bool.booleanValue() ? Wouldn't it be faster the second way? Or is there any idea behind the way it's implemented right now? Sorry if it's obvious, but I was just curious :) Thanks, Maciek