Revision cc1302bd
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/AbcdImportPreference.java | ||
---|---|---|
337 | 337 |
} |
338 | 338 |
if (configurator != null){ |
339 | 339 |
String configString = configurator.toString(); |
340 |
|
|
340 |
Abcd206ImportConfigurator defaultConfig = Abcd206ImportConfigurator.NewInstance(null,null); |
|
341 |
if (configString.equals(defaultConfig.toString())){ |
|
342 |
configString = null; |
|
343 |
} |
|
341 | 344 |
CdmPreference pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.AbcdImportConfig, configString); |
342 | 345 |
pref.setAllowOverride(allowOverride); |
343 | 346 |
|
Also available in: Unified diff
ref #8045: check whether all db preferences are deleted from DB if value is default value