mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-2974: Fixing warnings
This commit is contained in:
parent
113156a19f
commit
7fa3389119
662 changed files with 2198 additions and 2216 deletions
|
@ -81,10 +81,10 @@ public class GraphClassesScript extends GhidraScript {
|
|||
private void getClassStructures(Category[] categories) throws CancelledException {
|
||||
|
||||
for (Category category : categories) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
DataType[] dataTypes = category.getDataTypes();
|
||||
for (DataType dataType : dataTypes) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
if (dataType.getName().equals(category.getName()) &&
|
||||
dataType instanceof Structure) {
|
||||
|
||||
|
@ -125,7 +125,7 @@ public class GraphClassesScript extends GhidraScript {
|
|||
|
||||
for (Structure classStructure : classStructures) {
|
||||
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
String description = classStructure.getDescription();
|
||||
|
||||
|
@ -270,7 +270,7 @@ public class GraphClassesScript extends GhidraScript {
|
|||
DataTypeComponent[] components = childStructure.getComponents();
|
||||
for (DataTypeComponent component : components) {
|
||||
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
DataType componentDataType = component.getDataType();
|
||||
if (componentDataType instanceof Structure &&
|
||||
componentDataType.getName().equals(parentName)) {
|
||||
|
@ -291,7 +291,7 @@ public class GraphClassesScript extends GhidraScript {
|
|||
|
||||
List<Structure> parentStructures = new ArrayList<>();
|
||||
for (Structure classStructure : classStructures) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
if (classStructure.getName().equals(parentName)) {
|
||||
parentStructures.add(classStructure);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue