Removed Java 7 dependency - java.util.Objects