1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Code streamlining.

This commit is contained in:
Sergey Prigogin 2013-02-27 12:34:14 -08:00
parent ba6c3f6316
commit d806cdcf2d

View file

@ -467,8 +467,7 @@ public class PDOM extends PlatformObject implements IPDOM {
public PDOMTagIndex getTagIndex() throws CoreException {
if (tagIndex == null) {
// tag index can only be stored in database versions 140.1 or greater
tagIndex = new PDOMTagIndex(db.getVersion() >= version(140, 1) ? db : null, TAG_INDEX);
tagIndex = new PDOMTagIndex(db, TAG_INDEX);
}
return tagIndex;
}
@ -483,7 +482,7 @@ public class PDOM extends PlatformObject implements IPDOM {
}
/**
* Returns the index of files containg unresolved includes.
* Returns the index of files containing unresolved includes.
*/
public BTree getIndexOfFilesWithUnresolvedIncludes() throws CoreException {
if (indexOfFiledWithUnresolvedIncludes == null) {