Using Java 7 equals