Skip to content

Commit

Permalink
Review activcation policy of class Configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
xor-freenet committed May 5, 2011
1 parent 7d67452 commit 38e1eb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/WebOfTrust/Configuration.java
Expand Up @@ -69,10 +69,12 @@ public synchronized void storeAndCommit() {
}

public int getDatabaseFormatVersion() {
// checkedActivate(depth) is not needed, int is a db4o primitive type
return mDatabaseFormatVersion;
}

protected void setDatabaseFormatVersion(int newVersion) {
// checkedActivate(depth) is not needed, int is a db4o primitive type
if(newVersion <= mDatabaseFormatVersion)
throw new RuntimeException("mDatabaseFormatVersion==" + mDatabaseFormatVersion + "; newVersion==" + newVersion);

Expand Down

0 comments on commit 38e1eb9

Please sign in to comment.