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} */