Skip to content

Commit a841fe9

Browse files
committed
No logical changes: Reformatting of code
And taking advantage of better type inference in java 8
1 parent 9c30763 commit a841fe9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class HttpCommandExecutor implements CommandExecutor, NeedsLocalLogs {
5656
private LocalLogs logs = LocalLogs.getNullLogger();
5757

5858
public HttpCommandExecutor(URL addressOfRemoteServer) {
59-
this(ImmutableMap.<String, CommandInfo>of(), addressOfRemoteServer);
59+
this(ImmutableMap.of(), addressOfRemoteServer);
6060
}
6161

6262
/**
@@ -67,7 +67,8 @@ public HttpCommandExecutor(URL addressOfRemoteServer) {
6767
* @param addressOfRemoteServer URL of remote end Selenium server
6868
*/
6969
public HttpCommandExecutor(
70-
Map<String, CommandInfo> additionalCommands, URL addressOfRemoteServer) {
70+
Map<String, CommandInfo> additionalCommands,
71+
URL addressOfRemoteServer) {
7172
this(additionalCommands, addressOfRemoteServer, getDefaultClientFactory());
7273
}
7374

0 commit comments

Comments
 (0)