mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Code streamlining.
This commit is contained in:
parent
ba6c3f6316
commit
d806cdcf2d
1 changed files with 2 additions and 3 deletions
|
@ -467,8 +467,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
|
|
||||||
public PDOMTagIndex getTagIndex() throws CoreException {
|
public PDOMTagIndex getTagIndex() throws CoreException {
|
||||||
if (tagIndex == null) {
|
if (tagIndex == null) {
|
||||||
// tag index can only be stored in database versions 140.1 or greater
|
tagIndex = new PDOMTagIndex(db, TAG_INDEX);
|
||||||
tagIndex = new PDOMTagIndex(db.getVersion() >= version(140, 1) ? db : null, TAG_INDEX);
|
|
||||||
}
|
}
|
||||||
return tagIndex;
|
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 {
|
public BTree getIndexOfFilesWithUnresolvedIncludes() throws CoreException {
|
||||||
if (indexOfFiledWithUnresolvedIncludes == null) {
|
if (indexOfFiledWithUnresolvedIncludes == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue