public static void fillNameDetailsConfigurator(NameDetailsConfigurator config, String value) {
String [] sections = value.split(";");
- Map<String, Boolean> sectionMap = new HashMap<String, Boolean>();
+ Map<String, Boolean> sectionMap = new HashMap<>();
String[] sectionValues;
for (String sectionValue: sections){
sectionValues = sectionValue.split(":");
- sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1]));
+// sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1]));
}
for (Field field: config.getClass().getDeclaredFields()){
try {