This commit is contained in:
Maxime Dagnicourt
2008-02-20 10:42:20 +00:00
parent cc908a8288
commit 1f74d822e6

View File

@@ -270,4 +270,12 @@ public class User implements Serializable{
this.delegation = delegation; this.delegation = delegation;
} }
*/ */
@Override
public boolean equals(Object obj){
if (this.getClass() == obj.getClass())
return this.login.equals(((User)obj).getLogin());
else return false;
}
} }