diff test/channeltest/testSeMa.java @ 308:c5be84d53c7f channel-simulator-update **INVALID**

*** empty log message ***
author kono
date Sat, 04 Oct 2008 22:12:34 +0900
parents d6a33e295d47
children
line wrap: on
line diff
--- a/test/channeltest/testSeMa.java	Sat Oct 04 22:12:16 2008 +0900
+++ b/test/channeltest/testSeMa.java	Sat Oct 04 22:12:34 2008 +0900
@@ -31,7 +31,6 @@
 
 	}
 
-	@SuppressWarnings("unchecked")
 	public void run() {
 		REPSelector<String> selector=null;
 
@@ -71,7 +70,7 @@
 
 					}else if(key.isReadable()){
 						try {
-							REPSocketChannel<String> channel = (REPSocketChannel<String>) key.channel();
+							REPSocketChannel<String> channel = key.channel1();
 							String packet;
 							packet = channel.read();
 							if (packet==null) continue;