mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-10-04 16:53:24 -04:00
Shut up compile warnings
This commit is contained in:
parent
eb830c9c9f
commit
b59400f3dd
@ -50,6 +50,7 @@ public final class Logging {
|
|||||||
String exception = "";
|
String exception = "";
|
||||||
if (record.getThrown() != null) {
|
if (record.getThrown() != null) {
|
||||||
StringWriter sw = new StringWriter();
|
StringWriter sw = new StringWriter();
|
||||||
|
@SuppressWarnings("resource")
|
||||||
PrintWriter pw = new PrintWriter(sw);
|
PrintWriter pw = new PrintWriter(sw);
|
||||||
pw.println();
|
pw.println();
|
||||||
record.getThrown().printStackTrace(pw);
|
record.getThrown().printStackTrace(pw);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user