Skip to content

Commit

Permalink
Refactor MigrationJobAPI (#29219)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Nov 27, 2023
1 parent fbbb882 commit bb00c45
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ public Collection<Collection<Object>> listMigrationSourceResources(final Pipelin
}

private String getStandardProperty(final Map<String, Object> standardProps, final String key) {
if (standardProps.containsKey(key) && null != standardProps.get(key)) {
return standardProps.get(key).toString();
}
return "";
return standardProps.containsKey(key) && null != standardProps.get(key) ? standardProps.get(key).toString() : "";
}

@Override
Expand Down

0 comments on commit bb00c45

Please sign in to comment.