mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 146258 - Set the version on the PDOM. Might be a good idea...
This commit is contained in:
parent
c21d7a81ec
commit
6d81ef8ab2
1 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,11 @@ public class PDOM extends PlatformObject
|
|||
}
|
||||
|
||||
public boolean versionMismatch() {
|
||||
return db.getVersion() != VERSION;
|
||||
if (db.getVersion() != VERSION) {
|
||||
db.setVersion(VERSION);
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
|
||||
public Object getAdapter(Class adapter) {
|
||||
|
|
Loading…
Add table
Reference in a new issue