diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIWindowsClassRecoverer.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIWindowsClassRecoverer.java index 6fe7627154..b9a4e1ae2a 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIWindowsClassRecoverer.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIWindowsClassRecoverer.java @@ -2495,7 +2495,7 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer { * @param recoveredClass the given class * @return the offset in the given class structure of the classes single virtual parent or NONE * if cannot retrieve an offset value or if there is not a single virtual parent for the given - * class. + * class. Return null if cannot retrieve the offset for the single virtual parent. * @throws CancelledException if cancelled * @throws AddressOutOfBoundsException if trying to access an address that does not exist in program * @throws MemoryAccessException if trying to access memory that can't be accessed @@ -2517,7 +2517,7 @@ public class RTTIWindowsClassRecoverer extends RTTIClassRecoverer { private Map getBaseClassOffsetMap(RecoveredClass recoveredClass) throws CancelledException, MemoryAccessException, AddressOutOfBoundsException { - Map baseClassOffsetMap = new HashMap(); + Map baseClassOffsetMap = new HashMap<>(); Data baseClassArrayData = getBaseClassArray(recoveredClass);