From b60ef69160dc89cc6499060ffef7148b0cb833b2 Mon Sep 17 00:00:00 2001 From: Jan Lahoda Date: Tue, 2 Jul 2024 14:55:37 +0200 Subject: [PATCH] Fixing typo, as suggested. --- test/langtools/tools/lib/toolbox/AbstractTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/langtools/tools/lib/toolbox/AbstractTask.java b/test/langtools/tools/lib/toolbox/AbstractTask.java index 6a7d5eddb00a6..778a5398605f8 100644 --- a/test/langtools/tools/lib/toolbox/AbstractTask.java +++ b/test/langtools/tools/lib/toolbox/AbstractTask.java @@ -91,7 +91,7 @@ public Result run(Expect expect, int exitCode) { * @param expect the expected outcome * @param exitCodeValidator an exit code validator. The first parameter will * be the actual exit code, the second test name, - * should throw TaskError is the exit code is not + * should throw TaskError if the exit code is not * as expected. Only used if the expected outcome * is {@code FAIL} * @return the result of calling {@code run()} @@ -128,7 +128,7 @@ protected void expect(Expect expect, int expectedExitCode) { * @param expect the expected outcome * @param exitCodeValidator an exit code validator. The first parameter will * be the actual exit code, the second test name, - * should throw TaskError is the exit code is not + * should throw TaskError if the exit code is not * as expected. Only used if the expected outcome * is {@code FAIL} */