Fixed a compiler warning.
authorSergey Prigogin <eclipse.sprigogin@gmail.com>
Tue, 5 May 2015 22:59:48 +0000 (15:59 -0700)
committerSergey Prigogin <eclipse.sprigogin@gmail.com>
Tue, 5 May 2015 22:59:48 +0000 (15:59 -0700)
core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/AutoTypeResolver.java

index 0114bc9..f34df5f 100644 (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);
        }