Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/Session.java @ 224:6b0dd92b8e45
add optimizer to Editor
author | kent |
---|---|
date | Sun, 31 Aug 2008 13:28:34 +0900 |
parents | 3a2c6c2f9761 |
children | cbd67817e9cd |
line wrap: on
line diff
--- a/rep/Session.java Sun Aug 31 13:06:36 2008 +0900 +++ b/rep/Session.java Sun Aug 31 13:28:34 2008 +0900 @@ -1,6 +1,8 @@ package rep; import java.util.LinkedList; +import java.util.List; + import rep.channel.REPSocketChannel; public class Session { @@ -76,7 +78,7 @@ } public void translate(REPSocketChannel<REPCommand> channel, REPCommand command) { Editor editor = getEditor(channel); - LinkedList<REPCommand> commandList = editor.translate(command); + List<REPCommand> commandList = editor.translate(command); Editor nextEditor = getNextEditor(editor); for(REPCommand cmd: commandList){