Skip to content

Commit

Permalink
Fix spelling of "occurred" word in some diagnostic messages from Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
konsoletyper committed Dec 30, 2015
1 parent 539a122 commit eeaf70f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected void setupTool(BaseTeaVMTool tool) throws MojoExecutionException {
tool.setSourceMapsFileGenerated(sourceMapsGenerated);
tool.setSourceFilesCopied(sourceFilesCopied);
} catch (RuntimeException e) {
throw new MojoExecutionException("Unexpected error occured", e);
throw new MojoExecutionException("Unexpected error occurred", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void execute() throws MojoExecutionException {
throw new MojoExecutionException("Build error");
}
} catch (RuntimeException e) {
throw new MojoExecutionException("Unexpected error occured", e);
throw new MojoExecutionException("Unexpected error occurred", e);
} catch (TeaVMToolException e) {
throw new MojoExecutionException("IO error occured", e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
}
writePlan(tool.generate());
} catch (TeaVMToolException e) {
throw new MojoFailureException("Error occured generating JavaScript files", e);
throw new MojoFailureException("Error occurred generating JavaScript files", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public String runTest(Log log, String runtimeScript, TestCase testCase) throws I
readFile(new File(directory, testCase.getTestScript())),
readResource("teavm-selenium-adapter.js"));
} catch (WebDriverException e) {
log.error("Error occured running test " + testCase.getTestMethod(), e);
log.error("Error occurred running test " + testCase.getTestMethod(), e);
@SuppressWarnings("unchecked")
List<Object> errors = (List<Object>) js.executeScript("return window.jsErrors;");
if (errors != null) {
Expand Down

0 comments on commit eeaf70f

Please sign in to comment.