mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Cosmetics.
This commit is contained in:
parent
86f5038595
commit
3992f87dc4
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ public class CIndex implements IIndex {
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
||||||
IIndexFragmentBinding binding= fFragments[i].findBinding((IASTName) name);
|
IIndexFragmentBinding binding= fFragments[i].findBinding((IASTName) name);
|
||||||
if (binding!=null) {
|
if (binding != null) {
|
||||||
return getCompositesFactory(binding.getLinkage().getLinkageID()).getCompositeBinding(binding);
|
return getCompositesFactory(binding.getLinkage().getLinkageID()).getCompositeBinding(binding);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -207,7 +207,7 @@ public class CIndex implements IIndex {
|
||||||
public IIndexFile getFile(int linkageID, IIndexFileLocation location) throws CoreException {
|
public IIndexFile getFile(int linkageID, IIndexFileLocation location) throws CoreException {
|
||||||
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
||||||
IIndexFragmentFile candidate= fFragments[i].getFile(linkageID, location);
|
IIndexFragmentFile candidate= fFragments[i].getFile(linkageID, location);
|
||||||
if (candidate!=null && candidate.hasContent()) {
|
if (candidate != null && candidate.hasContent()) {
|
||||||
return candidate;
|
return candidate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue