Mercurial > hg > RemoteEditor > REPSessionManager
changeset 96:f0bc200d963d
*** empty log message ***
author | pin |
---|---|
date | Sat, 22 Dec 2007 10:14:18 +0900 |
parents | 2462a5d11396 |
children | f5d222e54e8c |
files | rep/Session.java |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/Session.java Sat Dec 22 00:30:14 2007 +0900 +++ b/rep/Session.java Sat Dec 22 10:14:18 2007 +0900 @@ -49,6 +49,12 @@ } public int addEditor(Editor editor) { incrementEID++; + for(Editor geteditor: editorList){ + if(geteditor.getChannel().equals(editor.getChannel())){ + //editorList.add(editor); + return incrementEID; + } + } editorList.add(editor); return incrementEID; }