false: true: true

This commit is contained in:
Reinhard Pointner 2017-04-02 01:14:55 +08:00
parent daef4da23b
commit eb7e393ddb
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public final class Logging {
}
// e.g. Failed to create file: AccessDeniedException: /path/to/file
return Stream.of(m, t.getClass().getSimpleName(), t.getMessage()).map(Objects::nonNull).map(Objects::toString).collect(joining(": "));
return Stream.of(m, t.getClass().getSimpleName(), t.getMessage()).filter(Objects::nonNull).map(Objects::toString).collect(joining(": "));
}
public static class ConsoleFormatter extends Formatter {