Mercurial > hg > RemoteEditor > REPSessionManager
changeset 204:0607cc699ba3
*** empty log message ***
author | kono |
---|---|
date | Sat, 30 Aug 2008 11:25:27 +0900 (2008-08-30) |
parents | 4c0a94836357 |
children | dfc2afab1325 |
files | rep/channel/SelectorSimulator.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/channel/SelectorSimulator.java Sat Aug 30 11:21:43 2008 +0900 +++ b/rep/channel/SelectorSimulator.java Sat Aug 30 11:25:27 2008 +0900 @@ -18,6 +18,7 @@ keyList = new HashSet<SelectionKey>(); } + //@SuppressWarnings("unchecked") public int select() throws IOException { selectedKeys = new HashSet<SelectionKey>(); @@ -25,7 +26,7 @@ while(selectedKeys.isEmpty()){ for(SelectionKey key : keyList){ - if(((SelectionKeySimulator<?>) key).isAble()) + if(((SelectionKeySimulator) key).isAble()) selectedKeys.add(key); }