Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/xml/SessionXMLDecoder.java @ 317:c83a3faec487
*** empty log message ***
author | kono |
---|---|
date | Tue, 07 Oct 2008 21:48:31 +0900 |
parents | 4768984ea4bc |
children | 5893fd8c0f50 |
line wrap: on
line diff
--- a/rep/xml/SessionXMLDecoder.java Tue Oct 07 18:15:33 2008 +0900 +++ b/rep/xml/SessionXMLDecoder.java Tue Oct 07 21:48:31 2008 +0900 @@ -7,7 +7,6 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; -import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; @@ -78,18 +77,17 @@ Element elementFile = (Element) nodelistEditorFile.item(0); String file = elementFile.getFirstChild().getNodeValue(); - Editor editor = new Editor(); + Editor editor = new Editor(null, false, 0); editor.setHost(host);/* editor.setPort(port)*/; editor.setName(file); editor.setEID(Integer.parseInt(eid)); session = new Session(editor); session.addEditor(editor); sessionlist.addSession(session); }else { - Editor editor = new Editor(); + Editor editor = new Editor(null, false, 0); editor.setHost(host);/* editor.setPort(port)*/; editor.setName(null); editor.setEID(Integer.parseInt(eid)); if(session != null){ session.addEditor(editor); - //sessionlist.addSession(session); } } }