From b3234675cce5ca7d169d07d807200733fc0ffadc Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Fri, 16 Nov 2012 23:29:01 -0300 Subject: [PATCH] Fix lazy initialization bug. --- .../src/main/java/com/wisemapping/model/Collaborator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/model/Collaborator.java b/wise-webapp/src/main/java/com/wisemapping/model/Collaborator.java index 03b723eb..fb29f238 100755 --- a/wise-webapp/src/main/java/com/wisemapping/model/Collaborator.java +++ b/wise-webapp/src/main/java/com/wisemapping/model/Collaborator.java @@ -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;