private void addProperties(Configuration configuration, Properties properties) {
        Objects.requireNonNull(configuration, "A non-null configuration is required");
        if (properties == null) {
            return;
        }
        for (String string : properties.stringPropertyNames()) {
            configuration.set(string, properties.getProperty(string));
        }
    }
Adds the specified properties to the given {@link Configuration} object.  

@param configuration configuration to manipulate. Should not be null.
@param properties properties to add to the configuration. May be null.
commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseConfigurationFactoryBean.java