diff rep/channel/SelectionKeySimulator.java @ 437:2c00fa39dd84

minor fix
author one
date Fri, 03 Sep 2010 10:22:39 +0900
parents 5e18919011a8
children
line wrap: on
line diff
--- a/rep/channel/SelectionKeySimulator.java	Wed Sep 01 11:43:21 2010 +0900
+++ b/rep/channel/SelectionKeySimulator.java	Fri Sep 03 10:22:39 2010 +0900
@@ -72,11 +72,10 @@
 		return scs.accept1();
 	}
 
-	@SuppressWarnings("unchecked")
-	@Override
+		@Override
 	public void cancel() {
 		canceled = true;
-		SelectorSimulator s = (SelectorSimulator)selector;
+		SelectorSimulator<?> s = (SelectorSimulator<?>)selector;
 		s.deregister(channel);
 	}