1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-02 22:05:44 +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) { public final void setIndexHeadersWithoutContext(UnusedHeaderStrategy mode) {
fIndexHeadersWithoutContext= mode; fIndexHeadersWithoutContext= mode;
} }
public final void setIndexFilesWithoutBuildConfiguration(boolean val) { public final void setIndexFilesWithoutBuildConfiguration(boolean val) {
fIndexFilesWithoutConfiguration= val; fIndexFilesWithoutConfiguration= val;
} }
public UnusedHeaderStrategy getIndexHeadersWithoutContext() { public UnusedHeaderStrategy getIndexHeadersWithoutContext() {
return fIndexHeadersWithoutContext; return fIndexHeadersWithoutContext;
} }
public boolean indexFilesWithoutConfiguration() { public boolean indexFilesWithoutConfiguration() {
return fIndexFilesWithoutConfiguration; return fIndexFilesWithoutConfiguration;
} }
public final void setUpdateFlags(int flags) { public final void setUpdateFlags(int flags) {
fUpdateFlags= flags; fUpdateFlags= flags;
} }
public final void setParseUpFront(String[] astFilePaths) { public final void setParseUpFront(String[] astFilePaths) {
fFilesUpFront.addAll(Arrays.asList(astFilePaths)); fFilesUpFront.addAll(Arrays.asList(astFilePaths));
} }
public final void setForceFirstFiles(int number) { public final void setForceFirstFiles(int number) {
fForceNumberFiles= number; fForceNumberFiles= number;
} }
public final void setFileSizeLimit(long limit) { public final void setFileSizeLimit(long limit) {
fFileSizeLimit= 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) { private Object findContext(int linkageID, IIndexFragmentFile ifile, HashMap<IIndexFragmentFile, Object> contextMap) {
Object cachedContext= contextMap.get(ifile); Object cachedContext= contextMap.get(ifile);
if (cachedContext != null) { if (cachedContext != null) {