mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-2376: more code review fixes; changed 'release' method to 'finished'
This commit is contained in:
parent
ea9e1c2dda
commit
d8740850e4
5 changed files with 56 additions and 15 deletions
|
@ -65,6 +65,17 @@ public class SecondaryTaskMonitor implements TaskMonitor {
|
|||
parentMonitor.setInitialized(init);
|
||||
}
|
||||
|
||||
/**
|
||||
* Secondary monitors should not be able to reset progress or revert back
|
||||
* to an uninitialized state; hence the override.
|
||||
*/
|
||||
@Override
|
||||
public void finished() {
|
||||
synchronized (this) {
|
||||
setMessage("");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelEnabled() {
|
||||
return parentMonitor.isCancelEnabled();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue