diff --git a/AlgebraicDataflowArchitectureModel/prototypes/Java/GroupChat/PULL-first/Account.java b/AlgebraicDataflowArchitectureModel/prototypes/Java/GroupChat/PULL-first/Account.java index 6aa36f4..f0a5587 100644 --- a/AlgebraicDataflowArchitectureModel/prototypes/Java/GroupChat/PULL-first/Account.java +++ b/AlgebraicDataflowArchitectureModel/prototypes/Java/GroupChat/PULL-first/Account.java @@ -3,14 +3,14 @@ public class Account { private Map notifications; public Map getValue() { - Map temp_nil5 = new HashMap<>(); - temp_nil5.put("notifications",this.getNotifications()); - return temp_nil5; + Map temp_nil1 = new HashMap<>(); + temp_nil1.put("notifications",this.getNotifications()); + return temp_nil1; } public Map getNotifications() { return new HashMap<>(notifications); } - public void updateNotificationsFromMessages(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) {