Skip to content

Commit dc64346

Browse files
committed
Run format
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent b08803a commit dc64346

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,16 @@ protected PasswordAuthentication getPasswordAuthentication() {
126126

127127
// Remove credentials from URL
128128
try {
129-
config = config.baseUri(
130-
new URI(
131-
config.baseUri().getScheme(),
132-
null,
133-
config.baseUri().getHost(),
134-
config.baseUri().getPort(),
135-
config.baseUri().getPath(),
136-
config.baseUri().getQuery(),
137-
config.baseUri().getFragment()));
129+
config =
130+
config.baseUri(
131+
new URI(
132+
config.baseUri().getScheme(),
133+
null,
134+
config.baseUri().getHost(),
135+
config.baseUri().getPort(),
136+
config.baseUri().getPath(),
137+
config.baseUri().getQuery(),
138+
config.baseUri().getFragment()));
138139
} catch (URISyntaxException e) {
139140
LOG.log(Level.WARNING, "Could not strip credentials from URI", e);
140141
}

0 commit comments

Comments
 (0)