Removed an unnecessary Integer instantiation in a boolean test.

A fairly trivial PMD catch.