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
This commit is contained in:
stefan-zobel 2021-03-09 11:27:49 -08:00 committed by Facebook GitHub Bot
parent 8643d63bb4
commit 430842f948
2 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ public interface AdvancedColumnFamilyOptionsInterface<
* @return the reference to the current options. * @return the reference to the current options.
*/ */
@Experimental("Turning this feature on or off for an existing DB can cause" + @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( T setLevelCompactionDynamicLevelBytes(
boolean enableLevelCompactionDynamicLevelBytes); boolean enableLevelCompactionDynamicLevelBytes);

View File

@ -113,7 +113,7 @@ public class TtlDB extends RocksDB {
throws RocksDBException { throws RocksDBException {
if (columnFamilyDescriptors.size() != ttlValues.size()) { if (columnFamilyDescriptors.size() != ttlValues.size()) {
throw new IllegalArgumentException("There must be a ttl value per column" throw new IllegalArgumentException("There must be a ttl value per column"
+ "family handle."); + " family handle.");
} }
final byte[][] cfNames = new byte[columnFamilyDescriptors.size()][]; final byte[][] cfNames = new byte[columnFamilyDescriptors.size()][];