Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 22, 2024
1 parent cc35950 commit 7fe9086
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public void processTemplate(Context context, File outputDirectory, String templa

if (!outputDirectory.exists()) {
if (!outputDirectory.mkdirs()) {
throw new MojoExecutionException("Faield to create directory " + outputDirectory);
throw new MojoExecutionException("Failed to create directory " + outputDirectory);
}
}

Expand All @@ -670,7 +670,7 @@ public void processTemplate(Context context, File outputDirectory, String templa
if (templateEncoding == null || templateEncoding.isEmpty()) {
templateEncoding = Charset.defaultCharset().name();
getLog().warn("File encoding has not been set, using platform encoding " + templateEncoding
+ ", i.e. build is platform dependent!");
+ "; build is platform dependent!");
}
try (Writer writer = new OutputStreamWriter(new FileOutputStream(f), templateEncoding)) {
Template velocityTemplate = engine.getTemplate(templateDirectory + "/" + template, templateEncoding);
Expand Down

0 comments on commit 7fe9086

Please sign in to comment.