Skip to content

Commit

Permalink
Change casing of method name. No logical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 15, 2022
1 parent 7387bc9 commit be2c7e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void close() {
}

private URI getWebSocketUri(HttpRequest request) {
URI uri = messages.getRawURI(request);
URI uri = messages.getRawUri(request);
if ("http".equalsIgnoreCase(uri.getScheme())) {
try {
uri = new URI("ws", uri.getUserInfo(), uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@
import org.openqa.selenium.remote.http.AddSeleniumUserAgent;
import org.openqa.selenium.remote.http.ClientConfig;
import org.openqa.selenium.remote.http.Contents;
import org.openqa.selenium.remote.http.HttpMethod;
import org.openqa.selenium.remote.http.HttpRequest;
import org.openqa.selenium.remote.http.HttpResponse;

import java.io.InputStream;
import java.net.URI;
import java.net.URL;
import java.net.URLEncoder;
import java.net.http.HttpRequest.BodyPublishers;
import java.util.Objects;
Expand Down Expand Up @@ -115,7 +113,7 @@ private String getRawUrl(URI baseUrl, String uri) {
return rawUrl;
}

public URI getRawURI(HttpRequest req) {
public URI getRawUri(HttpRequest req) {
String rawUrl = getRawUrl(config.baseUri(), req.getUri());
return URI.create(rawUrl);
}
Expand Down

0 comments on commit be2c7e4

Please sign in to comment.