Skip to content

Commit

Permalink
Minor formatting tweaks. No logical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Mar 23, 2021
1 parent 6972f10 commit a577a2c
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -81,8 +81,7 @@ public HttpCommandExecutor(ClientConfig config) {
*/
public HttpCommandExecutor(
Map<String, CommandInfo> additionalCommands,
URL addressOfRemoteServer)
{
URL addressOfRemoteServer) {
this(Require.nonNull("Additional commands", additionalCommands),
Require.nonNull("Server URL", addressOfRemoteServer),
getDefaultClientFactory());
Expand All @@ -91,8 +90,7 @@ public HttpCommandExecutor(
public HttpCommandExecutor(
Map<String, CommandInfo> additionalCommands,
URL addressOfRemoteServer,
HttpClient.Factory httpClientFactory)
{
HttpClient.Factory httpClientFactory) {
this(additionalCommands,
ClientConfig.defaultConfig()
.baseUrl(Require.nonNull("Server URL", addressOfRemoteServer)),
Expand All @@ -102,8 +100,7 @@ public HttpCommandExecutor(
public HttpCommandExecutor(
Map<String, CommandInfo> additionalCommands,
ClientConfig config,
HttpClient.Factory httpClientFactory)
{
HttpClient.Factory httpClientFactory) {
remoteServer = Require.nonNull("HTTP client configuration", config).baseUrl();
this.additionalCommands = Require.nonNull("Additional commands", additionalCommands);
this.httpClientFactory = Require.nonNull("HTTP client factory", httpClientFactory);
Expand Down

0 comments on commit a577a2c

Please sign in to comment.