From a2f400394326796fc6e04d0383ec417c25a402f1 Mon Sep 17 00:00:00 2001 From: Anton Oellerer Date: Mon, 9 May 2022 13:05:55 +0200 Subject: [PATCH] Fix checkstyle issues --- src/main/java/com/docutools/jocument/PlaceholderResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/docutools/jocument/PlaceholderResolver.java b/src/main/java/com/docutools/jocument/PlaceholderResolver.java index 60bf7a94..50e81b02 100644 --- a/src/main/java/com/docutools/jocument/PlaceholderResolver.java +++ b/src/main/java/com/docutools/jocument/PlaceholderResolver.java @@ -48,7 +48,7 @@ public Optional resolve(String placeholderName, Locale locale) } private PlaceholderData format(Locale locale, PlaceholderData original) { - if(original instanceof ScalarPlaceholderData) { + if (original instanceof ScalarPlaceholderData) { return options.tryToFormat(locale, original).orElse(original); } return original;