Skip to content

Commit a7be622

Browse files
authored
fixed formatting - my bad
1 parent c69505f commit a7be622

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/src/org/openqa/selenium/manager/SeleniumManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* <p>The Selenium-Manager binaries are distributed in a JAR file
4949
* (org.openqa.selenium:selenium-manager) for the Java binding language. Since these binaries are
5050
* compressed within these JAR, we need to serialize the proper binary for the current platform
51-
* (Windows, macOS, or Linux) as an executable file. To implement this we use a singleton pattern,
51+
* (Windows, macOS, or ) as an executable file. To implement this we use a singleton pattern,
5252
* since this way, we have a single instance in the JVM, and we reuse the resulting binary for all
5353
* the calls to the Selenium Manager singleton during all the Java process lifetime, deleting the
5454
* binary (stored as a local temporal file) on runtime shutdown.
@@ -193,11 +193,11 @@ private synchronized Path getBinary() {
193193
folder = "windows";
194194
} else if (current.is(MAC)) {
195195
folder = "macos";
196-
} else if (current.is(LINUX)) {
196+
} else if (current.is()) {
197197
if (System.getProperty("os.arch").contains("arm")) {
198198
throw new WebDriverException("Linux ARM is not supported by Selenium Manager");
199199
} else {
200-
folder = "linux";
200+
folder = "linux";
201201
}
202202
} else if (current.is(UNIX)) {
203203
LOG.warning(

0 commit comments

Comments
 (0)