Tiny Cleanup

This commit is contained in:
Konloch 2021-06-27 14:15:39 -07:00
parent 3be7d457c6
commit b13c957fcc

View file

@ -34,7 +34,7 @@ public class ResourceDecompiling
return; return;
} }
Thread t = new Thread(() -> Thread decompileThread = new Thread(() ->
{ {
if (BytecodeViewer.viewer.compileOnSave.isSelected() && !BytecodeViewer.compile(false)) if (BytecodeViewer.viewer.compileOnSave.isSelected() && !BytecodeViewer.compile(false))
return; return;
@ -187,7 +187,7 @@ public class ResourceDecompiling
} }
} }
}); });
t.start(); decompileThread.start();
} }
public static void decompileSaveOpenedOnly() public static void decompileSaveOpenedOnly()
@ -197,7 +197,7 @@ public class ResourceDecompiling
return; return;
} }
Thread t = new Thread(() -> { Thread decompileThread = new Thread(() -> {
if (BytecodeViewer.viewer.compileOnSave.isSelected() && !BytecodeViewer.compile(false)) if (BytecodeViewer.viewer.compileOnSave.isSelected() && !BytecodeViewer.compile(false))
return; return;
@ -413,6 +413,6 @@ public class ResourceDecompiling
} }
} }
}); });
t.start(); decompileThread.start();
} }
} }