Skip to content

Commit

Permalink
增加参数检查
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwu(吴承) committed Jul 3, 2018
1 parent 51bf158 commit f00e4b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dep/cos_migrate_tool-1.0-jar-with-dependencies.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ private boolean initCopyBucketConfig(Preferences prefs, CopyBucketConfig copyBuc
copyBucketConfig.setSrcCosPath(srcCosPath);

String srcEndpointSuffix = getConfigValue(prefs, COPY_BUCKET_SECTION_NAME, COPY_SRC_ENDPOINT_SUFFIX);
if (srcEndpointSuffix != null) {
if (srcEndpointSuffix != null && !srcEndpointSuffix.trim().isEmpty()) {
copyBucketConfig.setSrcEndpointSuffix(srcEndpointSuffix);
}

Expand Down

0 comments on commit f00e4b0

Please sign in to comment.