Fix lazy initialization bug.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-16 23:29:01 -03:00
parent 146c6d8a17
commit b3234675cc

View File

@ -101,8 +101,8 @@ public class Collaborator implements Serializable {
if (this == that) return true;
if (that == null) return false;
if (id != that.id) return false;
if (email != null ? !email.equals(that.email) : that.email != null) return false;
if (id != that.getId()) return false;
if (email != null ? !email.equals(that.getEmail()) : that.getEmail() != null) return false;
return true;