@@ -81,8 +81,7 @@ public HttpCommandExecutor(ClientConfig config) {
81
81
*/
82
82
public HttpCommandExecutor (
83
83
Map <String , CommandInfo > additionalCommands ,
84
- URL addressOfRemoteServer )
85
- {
84
+ URL addressOfRemoteServer ) {
86
85
this (Require .nonNull ("Additional commands" , additionalCommands ),
87
86
Require .nonNull ("Server URL" , addressOfRemoteServer ),
88
87
getDefaultClientFactory ());
@@ -91,8 +90,7 @@ public HttpCommandExecutor(
91
90
public HttpCommandExecutor (
92
91
Map <String , CommandInfo > additionalCommands ,
93
92
URL addressOfRemoteServer ,
94
- HttpClient .Factory httpClientFactory )
95
- {
93
+ HttpClient .Factory httpClientFactory ) {
96
94
this (additionalCommands ,
97
95
ClientConfig .defaultConfig ()
98
96
.baseUrl (Require .nonNull ("Server URL" , addressOfRemoteServer )),
@@ -102,8 +100,7 @@ public HttpCommandExecutor(
102
100
public HttpCommandExecutor (
103
101
Map <String , CommandInfo > additionalCommands ,
104
102
ClientConfig config ,
105
- HttpClient .Factory httpClientFactory )
106
- {
103
+ HttpClient .Factory httpClientFactory ) {
107
104
remoteServer = Require .nonNull ("HTTP client configuration" , config ).baseUrl ();
108
105
this .additionalCommands = Require .nonNull ("Additional commands" , additionalCommands );
109
106
this .httpClientFactory = Require .nonNull ("HTTP client factory" , httpClientFactory );
0 commit comments