mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0: Using TaskMonitor.DUMMY instead of deprecated
TaskMonitorAdapter.DUMMY_MONITOR
This commit is contained in:
parent
c077c60942
commit
70a155cb70
130 changed files with 944 additions and 958 deletions
|
@ -37,7 +37,7 @@ import ghidra.program.model.listing.Program;
|
|||
import ghidra.program.util.DefaultLanguageService;
|
||||
import ghidra.util.Msg;
|
||||
import ghidra.util.exception.CancelledException;
|
||||
import ghidra.util.task.TaskMonitorAdapter;
|
||||
import ghidra.util.task.TaskMonitor;
|
||||
|
||||
public class FixLangId extends GhidraScript {
|
||||
|
||||
|
@ -78,7 +78,7 @@ public class FixLangId extends GhidraScript {
|
|||
return;
|
||||
}
|
||||
|
||||
dbh.save("Set Language", null, TaskMonitorAdapter.DUMMY_MONITOR);
|
||||
dbh.save("Set Language", null, TaskMonitor.DUMMY);
|
||||
dbh.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue