From 82c5a1185ef09c839ccd670f5e90443247683c38 Mon Sep 17 00:00:00 2001 From: Simon Mavi Stewart Date: Tue, 28 Sep 2021 15:16:21 +0100 Subject: [PATCH] Remove unnecessary public keyword from interfaces. No logical changes --- java/src/org/openqa/selenium/chromium/HasLaunchApp.java | 2 +- java/src/org/openqa/selenium/chromium/HasPermissions.java | 2 +- java/src/org/openqa/selenium/firefox/HasFullPageScreenshot.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/src/org/openqa/selenium/chromium/HasLaunchApp.java b/java/src/org/openqa/selenium/chromium/HasLaunchApp.java index a61ff971c1aa6..ace0ec1270bf2 100644 --- a/java/src/org/openqa/selenium/chromium/HasLaunchApp.java +++ b/java/src/org/openqa/selenium/chromium/HasLaunchApp.java @@ -29,5 +29,5 @@ public interface HasLaunchApp { * * @param id which Chromium app to launch. */ - public void launchApp(String id); + void launchApp(String id); } diff --git a/java/src/org/openqa/selenium/chromium/HasPermissions.java b/java/src/org/openqa/selenium/chromium/HasPermissions.java index fc15720f4d6ca..a04334bdbed6f 100644 --- a/java/src/org/openqa/selenium/chromium/HasPermissions.java +++ b/java/src/org/openqa/selenium/chromium/HasPermissions.java @@ -30,5 +30,5 @@ public interface HasPermissions { * @param name what item to set the permission on. * @param value what to set the permission to. */ - public void setPermission(String name, String value); + void setPermission(String name, String value); } diff --git a/java/src/org/openqa/selenium/firefox/HasFullPageScreenshot.java b/java/src/org/openqa/selenium/firefox/HasFullPageScreenshot.java index b97d1192bcbe1..641820ffe4a3d 100644 --- a/java/src/org/openqa/selenium/firefox/HasFullPageScreenshot.java +++ b/java/src/org/openqa/selenium/firefox/HasFullPageScreenshot.java @@ -32,5 +32,5 @@ public interface HasFullPageScreenshot { * @param outputType target type, @see OutputType * @return Object in which is stored information about the screenshot. */ - public X getFullPageScreenshotAs(OutputType outputType); + X getFullPageScreenshotAs(OutputType outputType); }