Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
gavingaozhangmin committed Nov 30, 2021
1 parent f68f01c commit cb7e76f
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,8 @@ public static ClientConfigurationData newClientConf(String serviceUrl, Propertie
public static Map<String, Object> getClientParams(Map<String, String> parameters) {
return parameters.keySet().stream()
.filter(k -> k.startsWith(PulsarOptions.PULSAR_CLIENT_OPTION_KEY_PREFIX))
.collect(
Collectors.toMap(
k ->
k.substring(
PulsarOptions.PULSAR_CLIENT_OPTION_KEY_PREFIX
.length()),
k -> parameters.get(k)));
.collect(Collectors.toMap(
k -> k.substring(PulsarOptions.PULSAR_CLIENT_OPTION_KEY_PREFIX.length()),
k -> parameters.get(k)));
}
}

0 comments on commit cb7e76f

Please sign in to comment.