From 430842f948a5779dc40485a5c840bec56662e10b Mon Sep 17 00:00:00 2001 From: stefan-zobel Date: Tue, 9 Mar 2021 11:27:49 -0800 Subject: [PATCH] Java-API: Missing space in string literal (#7982) Summary: `TtlDB.open()`: missing space after 'column' `AdvancedColumnFamilyOptionsInterface.setLevelCompactionDynamicLevelBytes()`: missing space after 'cause' Pull Request resolved: https://github.com/facebook/rocksdb/pull/7982 Reviewed By: ajkr Differential Revision: D26546632 Pulled By: jay-zhuang fbshipit-source-id: 885dedcaa2200842764fbac9ce3766d54e1c8914 --- .../java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java | 2 +- java/src/main/java/org/rocksdb/TtlDB.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/main/java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java b/java/src/main/java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java index 772a5900b..76d9bde46 100644 --- a/java/src/main/java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java +++ b/java/src/main/java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java @@ -301,7 +301,7 @@ public interface AdvancedColumnFamilyOptionsInterface< * @return the reference to the current options. */ @Experimental("Turning this feature on or off for an existing DB can cause" + - "unexpected LSM tree structure so it's not recommended") + " unexpected LSM tree structure so it's not recommended") T setLevelCompactionDynamicLevelBytes( boolean enableLevelCompactionDynamicLevelBytes); diff --git a/java/src/main/java/org/rocksdb/TtlDB.java b/java/src/main/java/org/rocksdb/TtlDB.java index c1e3bb473..a7adaf4b2 100644 --- a/java/src/main/java/org/rocksdb/TtlDB.java +++ b/java/src/main/java/org/rocksdb/TtlDB.java @@ -113,7 +113,7 @@ public class TtlDB extends RocksDB { throws RocksDBException { if (columnFamilyDescriptors.size() != ttlValues.size()) { throw new IllegalArgumentException("There must be a ttl value per column" - + "family handle."); + + " family handle."); } final byte[][] cfNames = new byte[columnFamilyDescriptors.size()][];