Skip to content

Commit

Permalink
Coding style compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
emmebi committed Mar 23, 2023
1 parent c4dd219 commit 8bcc890
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public class HTMLTagRemover {
private static final ConcurrentMap<String, String> 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, ""));
}
}

0 comments on commit 8bcc890

Please sign in to comment.