show uuid in log messages if username is null

This commit is contained in:
Luck 2017-04-21 21:28:50 +01:00
parent f43b9c96de
commit 4382d5c56d
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -92,7 +92,7 @@ public class LogEntry implements Comparable<LogEntry> {
return String.format(FORMAT,
String.valueOf(actorName).equals("null") ? actor.toString() : actorName,
Character.toString(type),
actedName,
String.valueOf(actedName).equals("null") && acted != null ? acted.toString() : actedName,
action
);
}