Cleanup in StackTracePrinter

This commit is contained in:
Luck 2019-11-23 17:43:56 +00:00
parent 94418d3648
commit 2316b6806e
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -57,8 +57,12 @@ public final class StackTracePrinter {
printing = true;
}
if (!printing) continue;
if (count >= this.truncateLength) break;
if (!printing) {
continue;
}
if (count >= this.truncateLength) {
break;
}
consumer.accept(e);
count++;