Fix formatting issues

This commit is contained in:
Ankit Gupta 2014-04-18 10:48:48 -07:00
parent ebd85e8f3a
commit 686fdea811
2 changed files with 4 additions and 3 deletions

View File

@ -508,7 +508,7 @@ public class Options {
return maxBackgroundCompactions(nativeHandle_); return maxBackgroundCompactions(nativeHandle_);
} }
/* /**
* Creates statistics object which collects metrics about database operations. * Creates statistics object which collects metrics about database operations.
Statistics objects should not be shared between DB instances as Statistics objects should not be shared between DB instances as
it does not use any locks to prevent concurrent updates. it does not use any locks to prevent concurrent updates.
@ -522,7 +522,7 @@ public class Options {
return this; return this;
} }
/* /**
* Returns statistics object. Calls createStatistics() if * Returns statistics object. Calls createStatistics() if
* C++ returns NULL pointer for statistics. * C++ returns NULL pointer for statistics.
* *

View File

@ -24,7 +24,8 @@ public class Statistics {
public HistogramData geHistogramData(HistogramType histogramType) { public HistogramData geHistogramData(HistogramType histogramType) {
assert(isInitialized()); assert(isInitialized());
HistogramData hist = geHistogramData0(histogramType.getValue(), statsHandle_); HistogramData hist = geHistogramData0(
histogramType.getValue(), statsHandle_);
return hist; return hist;
} }