From dd9f6f0a3174db51c2d74789bfe1f5603efe1509 Mon Sep 17 00:00:00 2001 From: Ankit Gupta Date: Tue, 22 Apr 2014 10:51:39 -0700 Subject: [PATCH] Fix formatting --- java/org/rocksdb/BloomFilter.java | 14 +++++++------- java/org/rocksdb/Filter.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java/org/rocksdb/BloomFilter.java b/java/org/rocksdb/BloomFilter.java index f0f935a20..9c4913a8c 100644 --- a/java/org/rocksdb/BloomFilter.java +++ b/java/org/rocksdb/BloomFilter.java @@ -10,28 +10,28 @@ package org.rocksdb; * with approximately the specified number of bits per key. * A good value for bitsPerKey is 10, which yields a filter * with ~ 1% false positive rate. - * + * * Default value of bits per key is 10. */ public class BloomFilter extends Filter { private static final int DEFAULT_BITS_PER_KEY = 10; private final int bitsPerKey_; - + public BloomFilter() { this(DEFAULT_BITS_PER_KEY); } - + public BloomFilter(int bitsPerKey) { super(); bitsPerKey_ = bitsPerKey; - + createNewFilter(); } - + @Override protected void createNewFilter() { createNewFilter0(bitsPerKey_); } - + private native void createNewFilter0(int bitsKeyKey); -} \ No newline at end of file +} diff --git a/java/org/rocksdb/Filter.java b/java/org/rocksdb/Filter.java index 186822abd..0de392ac6 100644 --- a/java/org/rocksdb/Filter.java +++ b/java/org/rocksdb/Filter.java @@ -14,7 +14,7 @@ package org.rocksdb; */ public abstract class Filter { protected long nativeHandle_ = 0; - + protected abstract void createNewFilter(); /**