Init lastTypeChange to -1 so we know we have to run update() once

even if the underlying properties file does not exist.
This commit is contained in:
hns 2003-02-25 21:13:14 +00:00
parent da936baf1e
commit 7ed203c8f0

View file

@ -84,7 +84,9 @@ public final class DbMapping implements Updatable {
long lastID; long lastID;
// timestamp of last modification of the mapping (type.properties) // timestamp of last modification of the mapping (type.properties)
long lastTypeChange; // init value is -1 so we know we have to run update once even if
// the underlying properties file is non-existent
long lastTypeChange = -1;
// timestamp of last modification of an object of this type // timestamp of last modification of an object of this type
long lastDataChange; long lastDataChange;