Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Feb 1, 2021
1 parent 11177da commit a369568
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void automaticStartup() {
} catch (Exception e) {
userAgentAnalyzerFailureMessage =
e.getClass().getSimpleName() + "<br/>" +
e.getMessage().replaceAll("\n", "<br/>");
e.getMessage().replace("\n", "<br/>");
LOG.error("Fatal error during startup: {}\n" +
"=======================================================\n" +
"{}\n" +
Expand Down Expand Up @@ -758,9 +758,6 @@ private String doHTML(String userAgentString) {

sb.append("<hr/>");
userAgentString =



"Mozilla/5.0 (Linux; Android 7.8.9; nl-nl ; " +
"Niels Ultimate 42 demo phone Build/42 ; " +
"https://yauaa.basjes.nl ) " +
Expand Down

0 comments on commit a369568

Please sign in to comment.