提交 3c7d8004 编写于 作者: S Serge Rider

Datasources serialization fix.

上级 70d807e2
......@@ -660,7 +660,7 @@ public class DataSourceRegistry implements DBPDataSourceRegistry
for (String propName : prefStore.preferenceNames()) {
String propValue = prefStore.getString(propName);
String defValue = prefStore.getDefaultString(propName);
if (propValue == null) {
if (propValue == null || CommonUtils.equalObjects(propValue, defValue)) {
continue;
}
xml.startElement(RegistryConstants.TAG_CUSTOM_PROPERTY);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册