From 9e70f338c394f6f9363372e05ee45f517660e115 Mon Sep 17 00:00:00 2001 From: Viacheslav Skrypets Date: Wed, 5 Jun 2024 14:31:04 +0300 Subject: [PATCH] chore: exception message typo --- .../se/bjurr/gitchangelog/internal/util/ResourceLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/se/bjurr/gitchangelog/internal/util/ResourceLoader.java b/src/main/java/se/bjurr/gitchangelog/internal/util/ResourceLoader.java index 64be0d1..0463834 100644 --- a/src/main/java/se/bjurr/gitchangelog/internal/util/ResourceLoader.java +++ b/src/main/java/se/bjurr/gitchangelog/internal/util/ResourceLoader.java @@ -33,7 +33,7 @@ public static String getResourceOrFile(final String resourceName, final Charset if (inputStream == null) { throw new FileNotFoundException( - "Was unable to find file, or resouce, \"" + resourceName + "\""); + "Was unable to find file, or resource, \"" + resourceName + "\""); } try (BufferedReader br = new BufferedReader(new InputStreamReader(inputStream, encoding))) { templateString = br.lines().collect(Collectors.joining("\n"));