1
0
Fork 0
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:
Doug Schaefer 2006-06-09 14:23:10 +00:00
parent c21d7a81ec
commit 6d81ef8ab2

View file

@ -85,7 +85,11 @@ public class PDOM extends PlatformObject
} }
public boolean versionMismatch() { public boolean versionMismatch() {
return db.getVersion() != VERSION; if (db.getVersion() != VERSION) {
db.setVersion(VERSION);
return true;
} else
return false;
} }
public Object getAdapter(Class adapter) { public Object getAdapter(Class adapter) {