diff --git a/AlgebraicDataflowArchitectureModel/prototypes/JAX-RS/GroupChat/Account.java b/AlgebraicDataflowArchitectureModel/prototypes/JAX-RS/GroupChat/Account.java index 159f403..5f97d07 100644 --- a/AlgebraicDataflowArchitectureModel/prototypes/JAX-RS/GroupChat/Account.java +++ b/AlgebraicDataflowArchitectureModel/prototypes/JAX-RS/GroupChat/Account.java @@ -3,14 +3,14 @@ public class Account { private Map notifications; public Map getValue() { - Map temp_nil1 = new HashMap<>(); - temp_nil1.put("notifications",this.getNotifications()); - return temp_nil1; + Map temp_nil3 = new HashMap<>(); + temp_nil3.put("notifications",this.getNotifications()); + return temp_nil3; } public Map getNotifications() { return notifications; } - public void updateNotificationsFromMessages(String self, String gid, int mno, List messages, String members) { + public void updateNotificationsFromMessages(String self, String gid, int mno, List messages, String member) { this.notifications.put(gid,true); } public void hasRead(String aid, String gid) {