/** * Populates the specified parameters object with properties from the given * configuration. This method is used to set default values for basic * properties based on the result configuration of the parent builder. * * @param config the configuration whose properties are to be copied * @param params the target parameters object */ private static void setUpBasicParameters(final CombinedConfiguration config, final BasicBuilderParameters params) { params.setListDelimiterHandler(config.getListDelimiterHandler()) .setLogger(config.getLogger()) .setThrowExceptionOnMissing(config.isThrowExceptionOnMissing()) .setConfigurationDecoder(config.getConfigurationDecoder()); } }