Skip to content

Commit

Permalink
Fixing exception grammar
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Oct 19, 2023
1 parent c8cd705 commit b55a559
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public static Template parseFromDocumentSource(String documentSource) throws IOE
}
}
if (name == null) {
throw new IOException("An template object requires a name.");
throw new IOException("A template object requires a name.");
}

return new Template(
Expand Down Expand Up @@ -507,7 +507,7 @@ public static Template parse(XContentParser parser) throws IOException {
}
}
if (name == null) {
throw new IOException("An template object requires a name.");
throw new IOException("A template object requires a name.");
}

return new Template(
Expand Down

0 comments on commit b55a559

Please sign in to comment.