Fixed anonymize.
This commit is contained in:
parent
4cf6678aae
commit
15b088268b
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user