mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-2974: Fixing warnings
This commit is contained in:
parent
113156a19f
commit
7fa3389119
662 changed files with 2198 additions and 2216 deletions
|
@ -104,11 +104,11 @@ public class RepositoryFileUpgradeScript extends GhidraScript {
|
|||
private int listCheckouts(DomainFolder folder) throws IOException, CancelledException {
|
||||
int count = 0;
|
||||
for (DomainFile df : folder.getFiles()) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
count += listCheckouts(df);
|
||||
}
|
||||
for (DomainFolder subfolder : folder.getFolders()) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
count += listCheckouts(subfolder);
|
||||
}
|
||||
return count;
|
||||
|
@ -130,13 +130,13 @@ public class RepositoryFileUpgradeScript extends GhidraScript {
|
|||
private int performProgramUpgrades(DomainFolder folder) throws IOException, CancelledException {
|
||||
int count = 0;
|
||||
for (DomainFile df : folder.getFiles()) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
if (performProgramUpgrade(df)) {
|
||||
++count;
|
||||
}
|
||||
}
|
||||
for (DomainFolder subfolder : folder.getFolders()) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
count += performProgramUpgrades(subfolder);
|
||||
}
|
||||
return count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue