From 8bcc890f13310d8a706007f72333170b7eb5489f Mon Sep 17 00:00:00 2001 From: emmebi Date: Thu, 23 Mar 2023 21:53:02 +0000 Subject: [PATCH] Coding style compliance Refers #391 --- .../net/rptools/maptool/client/ui/syntax/HTMLTagRemover.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/rptools/maptool/client/ui/syntax/HTMLTagRemover.java b/src/main/java/net/rptools/maptool/client/ui/syntax/HTMLTagRemover.java index fe691f902d..93ff47f1f0 100644 --- a/src/main/java/net/rptools/maptool/client/ui/syntax/HTMLTagRemover.java +++ b/src/main/java/net/rptools/maptool/client/ui/syntax/HTMLTagRemover.java @@ -24,7 +24,9 @@ public class HTMLTagRemover { private static final ConcurrentMap htmlCache = new ConcurrentHashMap<>(); String remove(String htmlString) { - if (htmlString == null) return null; + if (htmlString == null) { + return null; + } return htmlCache.computeIfAbsent(htmlString, s -> s.replaceAll(HTML_TAG_REGEX, "")); } }