Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-8232

This commit is contained in:
amit2103
2018-08-19 00:04:04 +05:30
7 changed files with 104 additions and 82 deletions
@@ -25,7 +25,7 @@ public class User {
if (this.getClass() != o.getClass())
return false;
User user = (User) o;
return id != user.id && (!name.equals(user.name) && !email.equals(user.email));
return id == user.id && (name.equals(user.name) && email.equals(user.email));
}
@Override
@@ -38,4 +38,5 @@ public class User {
return hash;
}
// getters and setters here
}