1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 12:15:47 +02:00

Compiler warnings.

This commit is contained in:
Markus Schorn 2011-04-27 11:20:54 +00:00
parent 44a0ca086b
commit 35b299f423
2 changed files with 2 additions and 6 deletions

View file

@ -55,10 +55,6 @@ public class SafeStringInterner {
/**
* Returns a new version of the map such that all string keys and values are interned.
*
* @param <T>
* @param <M>
* @param map
* @return The map, after modification.
*/
@SuppressWarnings("unchecked")

View file

@ -141,10 +141,10 @@ class BindingToAstNameMatcher extends ASTVisitor {
}
private boolean isEquivalent(IASTName candidate) {
return CharArrayUtils.equals(candidate.getLookupKey(), toFindName) && bindingToFind.equals(index.adaptBinding(candidate.resolveBinding()));
return CharArrayUtils.equals(candidate.getSimpleID(), toFindName) && bindingToFind.equals(index.adaptBinding(candidate.resolveBinding()));
}
public List<IASTName> getMatches() {
return results;
}
};
}