Removed Java 7 comparisons