Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch 'origin/patch'

ghidra1514564292f72
diff --cc Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor2Test.java
index 1a36ee27db,098f87e077..7090558831
--- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor2Test.java
+++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor2Test.java
@@@ -66,7 -67,7 +66,8 @@@ public class EnumEditor2Test extends Ab
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);
@@@ -102,7 -103,7 +103,8 @@@
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);
@@@ -185,7 -186,7 +187,8 @@@
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);
@@@ -230,7 -231,7 +233,8 @@@
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);
@@@ -484,7 -485,7 +488,8 @@@
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);
@@@ -775,8 -818,8 +822,8 @@@
return null;
}
- private void addEntry(JTable table, EnumTableModel model, String name,
- long value) throws Exception {
- private void addEntry(final JTable table, final EnumTableModel model, final String name,
- final long value) throws Exception {
++ private void addEntry(JTable table, EnumTableModel model, String name, long value)
++ throws Exception {
runSwing(() -> {
int lastRow = model.getRowCount() - 1;
if (lastRow >= 0) {
@@@ -868,7 -899,7 +915,8 @@@
Category cat = program.getListing()
.getDataTypeManager()
.getCategory(new CategoryPath(CategoryPath.ROOT, "Category1"));
- final Enum enumm = new EnumDataType("Colors", 1);
++
+ Enum enumm = new EnumDataType("Colors", 1);
enumm.add("Red", 0);
enumm.add("Green", 0x10);
enumm.add("Blue", 0x20);