mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2982 - Added methods to TaskMonitor to address spelling
inconsistencies
This commit is contained in:
@@ -20,11 +20,10 @@ import ghidra.util.datastruct.WeakSet;
|
||||
import ghidra.util.exception.CancelledException;
|
||||
|
||||
/**
|
||||
* Create a "do nothing" task monitor that we can pass along to methods that
|
||||
* need a task monitor. This can be used when methods provide detailed
|
||||
* task progress information that we don't want to show the user.
|
||||
* <P>This monitor can be configured to allow cancelling via {@link #setCancelEnabled(boolean)}.
|
||||
* If this cancelling is enabled, the the monitor may be cancelled programmatically.
|
||||
* Implementation of {@link TaskMonitor} with most features stubbed out.
|
||||
* <p>
|
||||
* This class supports cancelling and cancel listener notification. Cancelling must be enabled
|
||||
* via {@link #setCancelEnabled(boolean)}.
|
||||
*/
|
||||
public class TaskMonitorAdapter implements TaskMonitor {
|
||||
|
||||
@@ -145,7 +144,7 @@ public class TaskMonitorAdapter implements TaskMonitor {
|
||||
cancelled = false;
|
||||
}
|
||||
|
||||
// TODO this seems like a mistake, to notify of 'cancelled' when clearning
|
||||
// TODO this seems like a mistake, to notify of 'cancelled' when clearing
|
||||
notifyChangeListeners();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user