diff --git a/java/org/rocksdb/Options.java b/java/org/rocksdb/Options.java index cd73aec5cf..64b56b87c4 100644 --- a/java/org/rocksdb/Options.java +++ b/java/org/rocksdb/Options.java @@ -508,7 +508,7 @@ public class Options { return maxBackgroundCompactions(nativeHandle_); } - /* + /** * Creates statistics object which collects metrics about database operations. Statistics objects should not be shared between DB instances as it does not use any locks to prevent concurrent updates. @@ -522,7 +522,7 @@ public class Options { return this; } - /* + /** * Returns statistics object. Calls createStatistics() if * C++ returns NULL pointer for statistics. * diff --git a/java/org/rocksdb/Statistics.java b/java/org/rocksdb/Statistics.java index 07c8d8bcbe..bed2b88108 100644 --- a/java/org/rocksdb/Statistics.java +++ b/java/org/rocksdb/Statistics.java @@ -24,7 +24,8 @@ public class Statistics { public HistogramData geHistogramData(HistogramType histogramType) { assert(isInitialized()); - HistogramData hist = geHistogramData0(histogramType.getValue(), statsHandle_); + HistogramData hist = geHistogramData0( + histogramType.getValue(), statsHandle_); return hist; }