提交 7bef2006 编写于 作者: S ShadelessFox

Use empty string for name if can't obtain


Former-commit-id: fbcf3ec6
上级 0dfa37d4
......@@ -247,7 +247,7 @@ public class SQLServerConnectionPage extends ConnectionPageAbstract implements I
if (getSite().isNew() && CommonUtils.isEmpty(databaseName)) {
databaseName = CommonUtils.notEmpty(site.getDriver().getDefaultDatabase());
}
dbText.setText(databaseName);
dbText.setText(CommonUtils.notEmpty(databaseName));
}
if (userNameText != null) {
if (site.isNew() && CommonUtils.isEmpty(connectionInfo.getUserName())) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册