From cc0d8be011e3dc89e0f88431bb1068d58060ca8b Mon Sep 17 00:00:00 2001 From: fyrz Date: Wed, 28 Jan 2015 21:54:01 +0100 Subject: [PATCH] [RocksJava] Integrated review comments (D32145) --- java/rocksjni/portal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/rocksjni/portal.h b/java/rocksjni/portal.h index 234d338ff..0c35eef4e 100644 --- a/java/rocksjni/portal.h +++ b/java/rocksjni/portal.h @@ -106,8 +106,8 @@ class RocksDBExceptionJni { }; // The portal class for org.rocksdb.Options -class OptionsJni : public RocksDBNativeClass { +class OptionsJni : public RocksDBNativeClass< + rocksdb::Options*, OptionsJni> { public: static jclass getJClass(JNIEnv* env) { return RocksDBNativeClass::getJClass(env, "org/rocksdb/Options"); @@ -115,8 +115,8 @@ class OptionsJni : public RocksDBNativeClass { +class DBOptionsJni : public RocksDBNativeClass< + rocksdb::DBOptions*, DBOptionsJni> { public: static jclass getJClass(JNIEnv* env) { return RocksDBNativeClass::getJClass(env, "org/rocksdb/DBOptions");