1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

reindent file

This commit is contained in:
Andrew Ferguson 2007-02-05 17:29:05 +00:00
parent 0abbd14d54
commit b2114ce639

View file

@ -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$