Equals are better than comparisons using "==" Also, Boolean returns each new object.

Comment From: rstoyanchev

I've changed this to Boolean.TRUE.equals(..) consistent with the rest of the framework, and shorter. Boolean.TRUE returns a constant.