diff --git a/java/org/rocksdb/ColumnFamilyOptions.java b/java/org/rocksdb/ColumnFamilyOptions.java index 7fa4545b5..3d3b236a2 100644 --- a/java/org/rocksdb/ColumnFamilyOptions.java +++ b/java/org/rocksdb/ColumnFamilyOptions.java @@ -31,17 +31,6 @@ public class ColumnFamilyOptions extends RocksObject newColumnFamilyOptions(); } - /** - *
Private constructor to be used by - * {@link #getColumnFamilyOptionsFromProps(java.util.Properties)}
- * - * @param handle native handle to ColumnFamilyOptions instance. - */ - private ColumnFamilyOptions(long handle) { - super(); - nativeHandle_ = handle; - } - /** *Method to get a options instance by using pre-configured * property values. If one or many values are undefined in @@ -576,6 +565,17 @@ public class ColumnFamilyOptions extends RocksObject disposeInternal(nativeHandle_); } + /** + *
Private constructor to be used by + * {@link #getColumnFamilyOptionsFromProps(java.util.Properties)}
+ * + * @param handle native handle to ColumnFamilyOptions instance. + */ + private ColumnFamilyOptions(long handle) { + super(); + nativeHandle_ = handle; + } + private static native long getColumnFamilyOptionsFromProps( String optString); diff --git a/java/org/rocksdb/DBOptions.java b/java/org/rocksdb/DBOptions.java index 45113c0f2..600369dec 100644 --- a/java/org/rocksdb/DBOptions.java +++ b/java/org/rocksdb/DBOptions.java @@ -31,17 +31,6 @@ public class DBOptions extends RocksObject implements DBOptionsInterface { newDBOptions(); } - /** - *Private constructor to be used by - * {@link #getDBOptionsFromProps(java.util.Properties)}
- * - * @param handle native handle to DBOptions instance. - */ - private DBOptions(long handle) { - super(); - nativeHandle_ = handle; - } - /** *Method to get a options instance by using pre-configured * property values. If one or many values are undefined in @@ -541,6 +530,17 @@ public class DBOptions extends RocksObject implements DBOptionsInterface { static final int DEFAULT_NUM_SHARD_BITS = -1; + /** + *
Private constructor to be used by + * {@link #getDBOptionsFromProps(java.util.Properties)}
+ * + * @param handle native handle to DBOptions instance. + */ + private DBOptions(long handle) { + super(); + nativeHandle_ = handle; + } + private static native long getDBOptionsFromProps( String optString);