GP-2982 - Added methods to TaskMonitor to address spelling

inconsistencies
This commit is contained in:
dragonmacher
2023-01-05 14:53:26 -05:00
parent 5c4d7a22c8
commit df968a0387
2 changed files with 45 additions and 27 deletions

View File

@@ -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();
}