Skip to content

Commit

Permalink
fix bitsPerKey()
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 committed Jul 26, 2021
1 parent 3a70c64 commit 69d896a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leveldb-api/src/main/java/org/iq80/leveldb/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public Options paranoidChecks(boolean paranoidChecks)

public long bitsPerKey()
{
return cacheSize;
return bitsPerKey;
}

public Options bitsPerKey(long bitsPerKey)
Expand Down

0 comments on commit 69d896a

Please sign in to comment.