mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Cosmetics
Change-Id: I4a1144c870b820d7bd98e068c659fa6904e2f8ee
This commit is contained in:
parent
52bd79302f
commit
59f5c157aa
1 changed files with 26 additions and 26 deletions
|
@ -206,7 +206,7 @@ public abstract class PDOMLinkage extends PDOMNamedNode implements IIndexLinkage
|
|||
protected final PDOMBinding attemptFastAdaptBinding(final IBinding binding) throws CoreException {
|
||||
PDOMBinding pdomBinding= binding.getAdapter(PDOMBinding.class);
|
||||
// There is no guarantee, that the binding is from the same PDOM object.
|
||||
if (pdomBinding != null && pdomBinding.getPDOM() == getPDOM()) {
|
||||
if (pdomBinding != null && pdomBinding.getPDOM() == fPDOM) {
|
||||
return pdomBinding;
|
||||
}
|
||||
return (PDOMBinding) fPDOM.getCachedResult(binding);
|
||||
|
|
Loading…
Add table
Reference in a new issue