Permalink
Browse files

Hard cache was never enabled,

credit goes to Eugen Rozic for reporting it.
  • Loading branch information...
1 parent 5c6ee30 commit 9c6121247755f0e787e864ee3ec52ace04af4ade @jankotek committed Sep 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/apache/jdbm/DBMaker.java
View
2 src/main/java/org/apache/jdbm/DBMaker.java
@@ -120,7 +120,7 @@ public DBMaker enableSoftCache() {
* @return this builder
*/
public DBMaker enableHardCache() {
- cacheType = DBCacheRef.SOFT;
+ cacheType = DBCacheRef.HARD;
return this;
}

0 comments on commit 9c61212

Please sign in to comment.