fix signature

This commit is contained in:
Gregory.Shrago
2012-11-09 20:28:36 +04:00
parent b957224a84
commit 04e3e54b60
@@ -114,7 +114,7 @@ public class RemoteUtil {
}, classLoader);
}
public static <T> T handleRemoteResult(Object value, Class<T> clazz, Object requestor) throws Exception {
public static <T> T handleRemoteResult(Object value, Class<? super T> clazz, Object requestor) throws Exception {
return RemoteUtil.<T>handleRemoteResult(value, clazz, requestor.getClass().getClassLoader(), false);
}