From e537a840c2fe2d3e0b70aca0cecd23f2f3854d52 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Thu, 24 Apr 2014 16:17:00 -0700 Subject: [PATCH] [Java] Fixed a compile error caused in some Java version. --- java/org/rocksdb/benchmark/DbBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/rocksdb/benchmark/DbBenchmark.java b/java/org/rocksdb/benchmark/DbBenchmark.java index 4b0e59936..0f2bddbba 100644 --- a/java/org/rocksdb/benchmark/DbBenchmark.java +++ b/java/org/rocksdb/benchmark/DbBenchmark.java @@ -1120,7 +1120,7 @@ public class DbBenchmark { block_size(defaultOptions_.blockSize(), "Number of bytes in a block.") { @Override public Object parseValue(String value) { - return Integer.parseInt(value); + return Long.parseLong(value); } }, compressed_cache_size(-1,