From 15b088268b2c4b36352415dfd1c2381c40a79f52 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 25 Apr 2021 04:38:45 +0200 Subject: [PATCH] Fixed anonymize. --- src/fr/devinsy/logar/app/anonymizer/Anonymizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java index 188fb15..69125e7 100644 --- a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java +++ b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java @@ -178,7 +178,7 @@ public final class Anonymizer if (!StringUtils.equals(log.getUser(), "-")) { String anonUser = this.map.anonymizeUser(log.getUser()); - line.replaceFirst(" " + log.getUser(), anonUser); + line = line.replaceFirst(" " + log.getUser(), " " + anonUser); } //