in src/main/java/org/apache/sling/feature/r2f/impl/OSGiConfiguration2FeatureConfigurationMapper.java [35:48]
public Configuration apply(org.osgi.service.cm.Configuration sourceConfiguration) {
Configuration targetConfiguration = new Configuration(sourceConfiguration.getPid());
Dictionary<String, Object> configurationProperties = sourceConfiguration.getProperties();
Enumeration<String> keys = configurationProperties.keys();
while (keys.hasMoreElements()) {
String key = keys.nextElement();
Object value = configurationProperties.get(key);
targetConfiguration.getProperties().put(key, value);
}
return targetConfiguration;
}