1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Fixed a compiler warning.

This commit is contained in:
Sergey Prigogin 2015-05-05 15:59:48 -07:00
parent 7bc5a81935
commit e8e43a37f8

View file

@ -153,8 +153,7 @@ class AutoTypeResolver implements ICPPFunctionTemplate {
}
@Override
@SuppressWarnings("rawtypes")
public Object getAdapter(Class adapter) {
public <T> T getAdapter(Class<T> adapter) {
throw new UnsupportedOperationException(UNEXPECTED_CALL);
}