Skip to content

Commit

Permalink
Immutable map of crypto manager factory
Browse files Browse the repository at this point in the history
Signed-off-by: Vikas Bansal <43470111+vikasvb90@users.noreply.github.com>
  • Loading branch information
vikasvb90 committed Sep 1, 2023
1 parent 1161cec commit c09095e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected Map<String, CryptoKeyProviderPlugin> loadCryptoFactories(List<CryptoKe
cryptoFactories.put(cryptoPlugin.type(), cryptoPlugin);
}

return cryptoFactories;
return Map.copyOf(cryptoFactories);
}

/**
Expand Down

0 comments on commit c09095e

Please sign in to comment.