Revision 2e170952
Added by Andreas Müller over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java | ||
---|---|---|
1393 | 1393 |
|
1394 | 1394 |
public static void fillNameDetailsConfigurator(NameDetailsConfigurator config, String value) { |
1395 | 1395 |
String [] sections = value.split(";"); |
1396 |
Map<String, Boolean> sectionMap = new HashMap<String, Boolean>();
|
|
1396 |
Map<String, Boolean> sectionMap = new HashMap<>(); |
|
1397 | 1397 |
String[] sectionValues; |
1398 | 1398 |
for (String sectionValue: sections){ |
1399 | 1399 |
sectionValues = sectionValue.split(":"); |
1400 |
sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1])); |
|
1400 |
// sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1]));
|
|
1401 | 1401 |
} |
1402 | 1402 |
for (Field field: config.getClass().getDeclaredFields()){ |
1403 | 1403 |
try { |
Also available in: Unified diff
preliminary comment sectionMap handling in PreferencesUtil