Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Jun 22, 2012
1 parent 4d5d42f commit 572b73f
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -93,13 +93,16 @@ public void addUser(EditorClientId editorClientId, UserPanelSessionItem item)
public void removeUser(EditorClientId editorClientId)
{
userSessionMap.remove(editorClientId);
// FIXME remove from colorListMap (memory leak)
}

public Map<EditorClientId, UserPanelSessionItem> getUserSessionMap()
{
return userSessionMap;
}

// TODO what we pass is really editorClientId
// Should we be passing sessionId? See also memory leak above.
public String getColor(String sessionId)
{
if (colorListMap.containsKey(sessionId))
Expand Down

0 comments on commit 572b73f

Please sign in to comment.