Skip to content

Commit

Permalink
Hard cache was never enabled,
Browse files Browse the repository at this point in the history
credit goes to Eugen Rozic for reporting it.
  • Loading branch information
jankotek committed Sep 7, 2012
1 parent 5c6ee30 commit 9c61212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/jdbm/DBMaker.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public DBMaker enableSoftCache() {
* @return this builder
*/
public DBMaker enableHardCache() {
cacheType = DBCacheRef.SOFT;
cacheType = DBCacheRef.HARD;
return this;
}

Expand Down

0 comments on commit 9c61212

Please sign in to comment.