Revision c219c816
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java | ||
---|---|---|
1396 | 1396 |
Map<String, Boolean> sectionMap = new HashMap<>(); |
1397 | 1397 |
String[] sectionValues; |
1398 | 1398 |
for (String sectionValue: sections){ |
1399 |
sectionValues = sectionValue.split(":"); |
|
1400 |
// sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1])); |
|
1399 |
if (sectionValue.contains(":")){ |
|
1400 |
sectionValues = sectionValue.split(":"); |
|
1401 |
sectionMap.put(sectionValues[0], Boolean.valueOf(sectionValues[1])); |
|
1402 |
} |
|
1401 | 1403 |
} |
1402 | 1404 |
for (Field field: config.getClass().getDeclaredFields()){ |
1403 | 1405 |
try { |
Also available in: Unified diff
fix NPE in NameDetailsView Preference processing