Skip to content

Commit

Permalink
Accept null argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Jan 5, 2025
1 parent 8a463f3 commit 8b5d39e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1650,6 +1650,9 @@ private void publishCommandInvokedEvent(ExecutionContext invocation, Subject sub
}

private ParameterMap maskSecretParameters(ParameterMap parameters) {
if (parameters == null) {
return parameters;
}
final ParameterMap maskedParameters = new ParameterMap(parameters);
maskedParameters.entrySet().forEach(entry -> {
if (PASSWORD_ATTRIBUTE_NAMES.contains(entry.getKey())) {
Expand Down

0 comments on commit 8b5d39e

Please sign in to comment.