Skip to content

Commit

Permalink
Update MailServiceIT.java.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Feb 7, 2025
1 parent 0b9b1eb commit 3606bbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class MailServiceIT {

String propertyFilePath = "i18n/messages_" + getMessageSourceSuffixForLanguage(langKey) + ".properties";
URL resource = this.getClass().getClassLoader().getResource(propertyFilePath);
Path filePath = Path.of(new URI(resource.getFile()));
Path filePath = Path.of(resource.toURI());
Properties properties = new Properties();
properties.load(new InputStreamReader(Files.newInputStream(filePath), Charset.forName("UTF-8")));

Expand Down

0 comments on commit 3606bbf

Please sign in to comment.