1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-12 10:45:37 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-01-19 01:33:51 +00:00
parent 52821a6191
commit c1b423318a

View file

@ -376,7 +376,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
if ((isSourceUnit && !isExcludedSource) || fIndexHeadersWithoutContext != UnusedHeaderStrategy.skip) { if ((isSourceUnit && !isExcludedSource) || fIndexHeadersWithoutContext != UnusedHeaderStrategy.skip) {
// headers or sources required with a specific linkage // headers or sources required with a specific linkage
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext==UnusedHeaderStrategy.useBoth); AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext == UnusedHeaderStrategy.useBoth);
for (AbstractLanguage lang : langs) { for (AbstractLanguage lang : langs) {
int linkageID = lang.getLinkageID(); int linkageID = lang.getLinkageID();
IIndexFragmentFile ifile= getFile(linkageID, indexFiles); IIndexFragmentFile ifile= getFile(linkageID, indexFiles);
@ -703,7 +703,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
private void parseFile(Object tu, int linkageID, IIndexFileLocation ifl, IScannerInfo scanInfo, private void parseFile(Object tu, int linkageID, IIndexFileLocation ifl, IScannerInfo scanInfo,
boolean inContext, IProgressMonitor pm) throws CoreException, InterruptedException { boolean inContext, IProgressMonitor pm) throws CoreException, InterruptedException {
IPath path= getPathForLabel(ifl); IPath path= getPathForLabel(ifl);
AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext==UnusedHeaderStrategy.useBoth); AbstractLanguage[] langs= fResolver.getLanguages(tu, fIndexHeadersWithoutContext == UnusedHeaderStrategy.useBoth);
AbstractLanguage lang= null; AbstractLanguage lang= null;
for (AbstractLanguage lang2 : langs) { for (AbstractLanguage lang2 : langs) {
if (lang2.getLinkageID() == linkageID) { if (lang2.getLinkageID() == linkageID) {
@ -711,7 +711,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
break; break;
} }
} }
if (lang==null) { if (lang == null) {
return; return;
} }