Skip to content

Commit f8c98fd

Browse files
Fix typos in ESTestCase javadoc (#138716)
Fixes numerous spelling mistakes in the javadoc comments for the ESTestCase class
1 parent bee48f8 commit f8c98fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ public static Instant randomInstantBetween(Instant minInstant, Instant maxInstan
946946
public static final BigInteger UNSIGNED_LONG_MAX = BigInteger.ONE.shiftLeft(Long.SIZE).subtract(BigInteger.ONE);
947947

948948
/**
949-
* A unsigned long in a {@link BigInteger} between min (inclusive) and max (inclusive).
949+
* An unsigned long in a {@link BigInteger} between min (inclusive) and max (inclusive).
950950
*/
951951
public static BigInteger randomUnsignedLongBetween(BigInteger min, BigInteger max) {
952952
if (min.compareTo(BigInteger.ZERO) < 0) {
@@ -2015,7 +2015,7 @@ public static LinkedHashMap<String, Object> shuffleMap(LinkedHashMap<String, Obj
20152015
* Create a copy of an original {@link Writeable} object by running it through a {@link BytesStreamOutput} and
20162016
* reading it in again using a provided {@link Writeable.Reader}. The stream that is wrapped around the {@link StreamInput}
20172017
* potentially need to use a {@link NamedWriteableRegistry}, so this needs to be provided too (although it can be
2018-
* empty if the object that is streamed doesn't contain any {@link NamedWriteable} objects itself.
2018+
* empty if the object that is streamed doesn't contain any {@link NamedWriteable} objects itself).
20192019
*/
20202020
public static <T extends Writeable> T copyWriteable(
20212021
T original,
@@ -2879,7 +2879,7 @@ public static void startInParallel(int numberOfTasks, IntConsumer taskFactory) {
28792879
}
28802880

28812881
/**
2882-
* Run {@code numberOfTasks} parallel tasks that were created by the given {@code taskFactory}. On of the tasks will be run on the
2882+
* Run {@code numberOfTasks} parallel tasks that were created by the given {@code taskFactory}. One of the tasks will be run on the
28832883
* calling thread, the rest will be run on a new thread.
28842884
* @param numberOfTasks number of tasks to run in parallel
28852885
* @param taskFactory task factory

0 commit comments

Comments
 (0)