Skip to content

Commit

Permalink
applying format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
iampopovich committed Dec 11, 2024
1 parent 3f9b9e0 commit 4f51782
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ private void saveSessionCapabilities(Capabilities sessionRequestCapabilities, St
try {
Files.createDirectories(Paths.get(path));
Files.writeString(
Paths.get(path, "sessionCapabilities.json"),
capsToJson, Charset.defaultCharset());
Paths.get(path, "sessionCapabilities.json"), capsToJson, Charset.defaultCharset());
} catch (IOException e) {
LOG.log(Level.WARNING, "Failed to save session capabilities", e);
}
Expand Down
1 change: 0 additions & 1 deletion java/test/org/openqa/selenium/UploadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.io.File;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package org.openqa.selenium.environment.webserver;

import static java.nio.charset.StandardCharsets.UTF_8;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.openqa.selenium.remote.http.Contents.string;
Expand Down
1 change: 0 additions & 1 deletion java/test/org/openqa/selenium/grid/node/NodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import java.io.UncheckedIOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.Clock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import static java.net.HttpURLConnection.HTTP_MOVED_TEMP;
import static java.net.HttpURLConnection.HTTP_OK;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.assertj.core.api.Assertions.assertThat;
import static org.openqa.selenium.remote.http.HttpMethod.GET;

Expand Down
1 change: 0 additions & 1 deletion java/test/org/openqa/selenium/testing/TestUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.io.File;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Map;
import java.util.regex.Matcher;
Expand Down

0 comments on commit 4f51782

Please sign in to comment.