checkstyle fixes for equals methods.