From 0aaf39078e1b05bf17e8c2ae0067b8c8c94bb9cd Mon Sep 17 00:00:00 2001 From: Noritaka Kobayashi Date: Tue, 8 Jul 2025 18:41:58 +0900 Subject: [PATCH] Fix typos in java & scripts --- java/src/org/openqa/selenium/json/JsonOutput.java | 2 +- java/src/org/openqa/selenium/remote/http/RetryRequest.java | 2 +- java/src/org/openqa/selenium/support/ui/Wait.java | 2 +- scripts/update_py_dependencies.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java/src/org/openqa/selenium/json/JsonOutput.java b/java/src/org/openqa/selenium/json/JsonOutput.java index e62a785a5730e..8d6d9d1517602 100644 --- a/java/src/org/openqa/selenium/json/JsonOutput.java +++ b/java/src/org/openqa/selenium/json/JsonOutput.java @@ -264,7 +264,7 @@ public class JsonOutput implements Closeable { } /** - * Specify whether the serialized JSON object should br formatted with line breaks and indention + * Specify whether the serialized JSON object should br formatted with line breaks and indentation * ("pretty printed"). * * @param enablePrettyPrinting {@code false} for compact format; {@code true} for "pretty diff --git a/java/src/org/openqa/selenium/remote/http/RetryRequest.java b/java/src/org/openqa/selenium/remote/http/RetryRequest.java index 3f8e2759a8405..17a3f7e0ed25c 100644 --- a/java/src/org/openqa/selenium/remote/http/RetryRequest.java +++ b/java/src/org/openqa/selenium/remote/http/RetryRequest.java @@ -38,7 +38,7 @@ public class RetryRequest implements Filter { @Override public HttpHandler apply(HttpHandler next) { return req -> { - // start to preform the request in a loop, to allow retries + // start to perform the request in a loop, to allow retries for (int i = 0; i < NEEDED_ATTEMPTS; i++) { HttpResponse response; diff --git a/java/src/org/openqa/selenium/support/ui/Wait.java b/java/src/org/openqa/selenium/support/ui/Wait.java index 11cd681b3d14c..1d4d4886075a9 100644 --- a/java/src/org/openqa/selenium/support/ui/Wait.java +++ b/java/src/org/openqa/selenium/support/ui/Wait.java @@ -33,7 +33,7 @@ public interface Wait { * *

If the condition does not become true within a certain time (as defined by the implementing * class), this method will throw a non-specified {@link Throwable}. This is so that an - * implementor may throw whatever is idiomatic for a given test infrastructure (e.g. JUnit4 would + * implementer may throw whatever is idiomatic for a given test infrastructure (e.g. JUnit4 would * throw {@link AssertionError}). * * @param the return type of the method, which must not be Void diff --git a/scripts/update_py_dependencies.sh b/scripts/update_py_dependencies.sh index 7655679ee8ac8..4e3de673b38f0 100755 --- a/scripts/update_py_dependencies.sh +++ b/scripts/update_py_dependencies.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# This script updates the development dependendencies used for the Python bindings. +# This script updates the development dependencies used for the Python bindings. # # When you run it, it will: # - create and activate a temporary virtual env