mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-15 04:05:38 +02:00
Compiler warnings.
This commit is contained in:
parent
44a0ca086b
commit
35b299f423
2 changed files with 2 additions and 6 deletions
|
@ -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")
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue