allOptions.putAll(entry.getOptions()); entry.getMultiValuedOptions().entrySet().stream() .forEach(e -> allOptions.put(e.getKey(), String.join(",", e.getValue()))); //$NON-NLS-1$ config.setProperties(allOptions); config.setMultiValuedOptions(entry.getMultiValuedOptions());