1
0
Fork 0
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:
Sergey Prigogin 2016-10-09 12:03:53 -07:00
parent 52bd79302f
commit 59f5c157aa

View file

@ -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);