From 3bfd4f315656022b8f31e6b5975cb37127fca9ca Mon Sep 17 00:00:00 2001 From: Manuel Blanco Date: Thu, 14 Dec 2023 10:00:18 +0100 Subject: [PATCH] Updated the return value of getMagicNumber to return 3. (#13303) Co-authored-by: Diego Molina --- java/test/org/openqa/selenium/remote/AugmenterTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/test/org/openqa/selenium/remote/AugmenterTest.java b/java/test/org/openqa/selenium/remote/AugmenterTest.java index 9a17fbd2ece0d..8674dd73c446a 100644 --- a/java/test/org/openqa/selenium/remote/AugmenterTest.java +++ b/java/test/org/openqa/selenium/remote/AugmenterTest.java @@ -378,8 +378,6 @@ public interface HasNumbers { public static class ChildRemoteDriver extends RemoteWebDriver implements HasMagicNumbers { - private final int magicNumber = 3; - @Override public Capabilities getCapabilities() { return new FirefoxOptions(); @@ -387,14 +385,12 @@ public Capabilities getCapabilities() { @Override public int getMagicNumber() { - return magicNumber; + return 3; } } public static class WithFinals extends RemoteWebDriver { - public final String finalField = "FINAL"; - @Override public Capabilities getCapabilities() { return new ImmutableCapabilities();