1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-11-22 04:25:03 +00:00
parent c0a7a5724f
commit ef6bc84321

View file

@ -194,24 +194,31 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
public final void setIndexHeadersWithoutContext(UnusedHeaderStrategy mode) {
fIndexHeadersWithoutContext= mode;
}
public final void setIndexFilesWithoutBuildConfiguration(boolean val) {
fIndexFilesWithoutConfiguration= val;
}
public UnusedHeaderStrategy getIndexHeadersWithoutContext() {
return fIndexHeadersWithoutContext;
}
public boolean indexFilesWithoutConfiguration() {
return fIndexFilesWithoutConfiguration;
}
public final void setUpdateFlags(int flags) {
fUpdateFlags= flags;
}
public final void setParseUpFront(String[] astFilePaths) {
fFilesUpFront.addAll(Arrays.asList(astFilePaths));
}
public final void setForceFirstFiles(int number) {
fForceNumberFiles= number;
}
public final void setFileSizeLimit(long limit) {
fFileSizeLimit= limit;
}
@ -695,7 +702,8 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
}
}
private static Object NO_CONTEXT= new Object();
private static final Object NO_CONTEXT= new Object();
private Object findContext(int linkageID, IIndexFragmentFile ifile, HashMap<IIndexFragmentFile, Object> contextMap) {
Object cachedContext= contextMap.get(ifile);
if (cachedContext != null) {