Removed double if

Coz Java 7 doesn't have to be that bad.
Merge pull request #3 from judoole/java-knows-about-and

Removed double if