mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Fix up a few formatting things and the version number for tags.
This commit is contained in:
parent
6c6ab24c23
commit
9c4d88dab4
3 changed files with 5 additions and 6 deletions
|
@ -465,10 +465,9 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
}
|
||||
|
||||
public PDOMTagIndex getTagIndex() throws CoreException {
|
||||
if (tagIndex == null)
|
||||
{
|
||||
// tag index can only be stored in database versions 139.1 or greater
|
||||
tagIndex = new PDOMTagIndex( db.getVersion() >= version( 139, 1 ) ? db : null, TAG_INDEX );
|
||||
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);
|
||||
}
|
||||
return tagIndex;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue