Skip to content

Commit

Permalink
优化添加check()校验
Browse files Browse the repository at this point in the history
  • Loading branch information
KaidiGuo-Mr committed Jun 10, 2020
1 parent 828062e commit 64afbc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public AbstractTableInfo getTableInfo(String tableName, String fieldsInfo, Map<S
mongoSideTableInfo.setDatabase(MathUtil.getString(props.get(DATABASE_KEY.toLowerCase())));
mongoSideTableInfo.setUserName(MathUtil.getString(props.get(USER_NAME_KEY.toLowerCase())));
mongoSideTableInfo.setPassword(MathUtil.getString(props.get(PASSWORD_KEY.toLowerCase())));

mongoSideTableInfo.check();
return mongoSideTableInfo;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public AbstractTableInfo getTableInfo(String tableName, String fieldsInfo, Map<S
mongoTableInfo.setDatabase(MathUtil.getString(props.get(DATABASE_KEY.toLowerCase())));
mongoTableInfo.setUserName(MathUtil.getString(props.get(USER_NAME_KEY.toLowerCase())));
mongoTableInfo.setPassword(MathUtil.getString(props.get(PASSWORD_KEY.toLowerCase())));

mongoTableInfo.check();
return mongoTableInfo;
}
}

0 comments on commit 64afbc6

Please sign in to comment.