From 1c3a037f0e5672dff434708aaed4e8b99b54cccd Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Thu, 1 Nov 2018 23:29:25 +0300 Subject: [PATCH] [java] Moving (firefox) Executable out of internal package to the main one, but making it package private --- .../selenium/firefox/{internal => }/Executable.java | 8 ++------ .../src/org/openqa/selenium/firefox/FirefoxBinary.java | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) rename java/client/src/org/openqa/selenium/firefox/{internal => }/Executable.java (94%) diff --git a/java/client/src/org/openqa/selenium/firefox/internal/Executable.java b/java/client/src/org/openqa/selenium/firefox/Executable.java similarity index 94% rename from java/client/src/org/openqa/selenium/firefox/internal/Executable.java rename to java/client/src/org/openqa/selenium/firefox/Executable.java index 2da7568ff484f..7e6913946ef81 100644 --- a/java/client/src/org/openqa/selenium/firefox/internal/Executable.java +++ b/java/client/src/org/openqa/selenium/firefox/Executable.java @@ -15,13 +15,12 @@ // specific language governing permissions and limitations // under the License. -package org.openqa.selenium.firefox.internal; +package org.openqa.selenium.firefox; import com.google.common.base.Preconditions; import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriverException; -import org.openqa.selenium.firefox.FirefoxBinary; import java.io.BufferedReader; import java.io.File; @@ -32,11 +31,8 @@ /** * Wrapper around Firefox executable. - * - * @deprecated Internal class. Visibility will be reduced and won't be exported from module. */ -@Deprecated -public class Executable { +class Executable { private final File binary; private String version; diff --git a/java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java b/java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java index 7005c53657791..3eafe0d329615 100644 --- a/java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java +++ b/java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java @@ -29,7 +29,6 @@ import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriverException; -import org.openqa.selenium.firefox.internal.Executable; import org.openqa.selenium.io.FileHandler; import org.openqa.selenium.os.CommandLine; import org.openqa.selenium.os.ExecutableFinder;