mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GT-2875 - Unswingable - review fixes
This commit is contained in:
parent
8dffd377fb
commit
07f0371a50
16 changed files with 395 additions and 374 deletions
|
@ -174,7 +174,7 @@ public class GThreadPool {
|
|||
*
|
||||
* @return the executor
|
||||
*/
|
||||
public GThreadPoolExecutor getExecutor() {
|
||||
public Executor getExecutor() {
|
||||
return executor;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ package ghidra.util.worker;
|
|||
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
|
||||
import ghidra.util.Swing;
|
||||
import ghidra.util.SystemUtilities;
|
||||
import ghidra.util.task.TaskMonitor;
|
||||
|
||||
|
@ -27,8 +28,6 @@ import ghidra.util.task.TaskMonitor;
|
|||
*/
|
||||
public class Worker extends AbstractWorker<Job> {
|
||||
|
||||
public static final String GSWING_THREAD_POOL_NAME = "GSwing Worker";
|
||||
|
||||
/**
|
||||
* A convenience method to create a Worker that uses a shared thread pool for performing
|
||||
* operations for GUI clients in a background thread
|
||||
|
@ -42,7 +41,7 @@ public class Worker extends AbstractWorker<Job> {
|
|||
* @return the new worker
|
||||
*/
|
||||
public static Worker createGuiWorker() {
|
||||
return new Worker(GSWING_THREAD_POOL_NAME);
|
||||
return new Worker(Swing.GSWING_THREAD_POOL_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue