Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Jan 15, 2024
1 parent b8d5e1d commit 7ce9390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ private static void syncDatabase(

private static Map<String, String> getConfigMap(MultipleParameterTool params, String key) {
if (!params.has(key)) {
System.out.println("Can not find key [" + key + "] from args: " + params.toMap().toString() + ".\n");
System.out.println(
"Can not find key ["
+ key
+ "] from args: "
+ params.toMap().toString()
+ ".\n");
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ public DatabaseSync setMultiToOneTarget(String multiToOneTarget) {
}

public DatabaseSync setTableConfig(Map<String, String> tableConfig) {
if(!CollectionUtil.isNullOrEmpty(tableConfig)){
if (!CollectionUtil.isNullOrEmpty(tableConfig)) {
this.tableConfig = tableConfig;
}
return this;
Expand Down

0 comments on commit 7ce9390

Please sign in to comment.