Removed double if

Coz Java 7 doesn't have to be that bad.