mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
f28b2834b8
commit
f99560bd1d
1 changed files with 1 additions and 3 deletions
|
@ -724,7 +724,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
path.lastSegment(), path.removeLastSegments(1).toString()));
|
path.lastSegment(), path.removeLastSegments(1).toString()));
|
||||||
long start= System.currentTimeMillis();
|
long start= System.currentTimeMillis();
|
||||||
IASTTranslationUnit ast= createAST(tu, lang, scanInfo, fASTOptions, inContext, pm);
|
IASTTranslationUnit ast= createAST(tu, lang, scanInfo, fASTOptions, inContext, pm);
|
||||||
fStatistics.fParsingTime += System.currentTimeMillis()-start;
|
fStatistics.fParsingTime += System.currentTimeMillis() - start;
|
||||||
if (ast != null) {
|
if (ast != null) {
|
||||||
writeToIndex(linkageID, ast, computeHashCode(scanInfo), pm);
|
writeToIndex(linkageID, ast, computeHashCode(scanInfo), pm);
|
||||||
}
|
}
|
||||||
|
@ -913,14 +913,12 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
||||||
if (a != null) {
|
if (a != null) {
|
||||||
for (String element : a) {
|
for (String element : a) {
|
||||||
result= addToHashcode(result, element);
|
result= addToHashcode(result, element);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a= esi.getMacroFiles();
|
a= esi.getMacroFiles();
|
||||||
if (a != null) {
|
if (a != null) {
|
||||||
for (String element : a) {
|
for (String element : a) {
|
||||||
result= addToHashcode(result, element);
|
result= addToHashcode(result, element);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue