mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +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 {
|
||||
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
||||
IIndexFragmentBinding binding= fFragments[i].findBinding((IASTName) name);
|
||||
if (binding!=null) {
|
||||
if (binding != null) {
|
||||
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 {
|
||||
for (int i = 0; i < fPrimaryFragmentCount; i++) {
|
||||
IIndexFragmentFile candidate= fFragments[i].getFile(linkageID, location);
|
||||
if (candidate!=null && candidate.hasContent()) {
|
||||
if (candidate != null && candidate.hasContent()) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue