1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

Compiler warnings.

This commit is contained in:
Markus Schorn 2010-05-05 13:32:57 +00:00
parent 5f1227d142
commit 10519ecf5f
3 changed files with 4 additions and 3 deletions

View file

@ -81,7 +81,7 @@ abstract public class CPPScope implements ICPPASTInternalScope {
return physicalNode;
}
@SuppressWarnings({ "unchecked", "rawtypes" })
@SuppressWarnings({ "unchecked" })
public void addName(IASTName name) throws DOMException {
// don't add inactive names to the scope
if (!name.isActive())
@ -328,7 +328,7 @@ abstract public class CPPScope implements ICPPASTInternalScope {
return CPPSemantics.findBindings(this, name, false);
}
@SuppressWarnings({ "unchecked", "rawtypes" })
@SuppressWarnings({ "unchecked" })
public void addBinding(IBinding binding) {
if (bindings == null)
bindings = new CharArrayObjectMap(1);

View file

@ -230,6 +230,7 @@ public abstract class ACBuilder extends IncrementalProjectBuilder implements IMa
* on #getDelta(...) being accurate should return a WorkspaceRoot scheduling rule.
* @since 5.2
*/
@Override
@SuppressWarnings("rawtypes")
public ISchedulingRule getRule(int trigger, Map args) {
return null;

View file

@ -651,7 +651,7 @@ public class CDocumentProvider extends TextFileDocumentProvider {
* @see AnnotationModel#addAnnotation(Annotation, Position, boolean)
*/
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
@SuppressWarnings({ "unchecked" })
protected void addAnnotation(Annotation annotation, Position position, boolean fireModelChanged) throws BadLocationException {
super.addAnnotation(annotation, position, fireModelChanged);