mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 07:15:39 +02:00
reindent file
This commit is contained in:
parent
0abbd14d54
commit
b2114ce639
1 changed files with 27 additions and 27 deletions
|
@ -202,7 +202,7 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
|||
iter.remove();
|
||||
} else {
|
||||
ITranslationUnit context= findContext(getIndex(), location);
|
||||
if (context != null) {
|
||||
if (context != null) {
|
||||
parseTU(context, monitor);
|
||||
}
|
||||
}
|
||||
|
@ -250,10 +250,10 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
|||
private void swallowError(IPath file, Throwable e) throws CoreException {
|
||||
IStatus status= CCorePlugin.createStatus(
|
||||
MessageFormat.format(Messages.PDOMIndexerTask_errorWhileParsing, new Object[]{file}), e);
|
||||
CCorePlugin.log(status);
|
||||
CCorePlugin.log(status);
|
||||
if (++fErrorCount > MAX_ERRORS) {
|
||||
throw new CoreException(CCorePlugin.createStatus(
|
||||
MessageFormat.format(Messages.PDOMIndexerTask_tooManyIndexProblems, new Object[]{getIndexer().getProject().getElementName()})));
|
||||
MessageFormat.format(Messages.PDOMIndexerTask_tooManyIndexProblems, new Object[]{getIndexer().getProject().getElementName()})));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -359,8 +359,8 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
|||
fReferenceCount++;
|
||||
else
|
||||
fDeclarationCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
fResolutionTime += System.currentTimeMillis()-start;
|
||||
}
|
||||
|
||||
|
@ -374,7 +374,7 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
|||
if (pm.isCanceled())
|
||||
return;
|
||||
|
||||
IIndexFileLocation path = orderedPaths[i];
|
||||
IIndexFileLocation path = orderedPaths[i];
|
||||
if (path != null) {
|
||||
if (fShowActivity) {
|
||||
System.out.println("Indexer: adding " + path.getURI()); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue