mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 07:31:38 +00:00
parent
3009ba9e87
commit
e9ebb47626
@ -115,7 +115,7 @@ public class EnumDataType extends GenericDataType implements Enum {
|
||||
bitGroups = null;
|
||||
checkValue(value);
|
||||
if (nameMap.containsKey(valueName)) {
|
||||
throw new IllegalArgumentException(name + " already exists in this enum");
|
||||
throw new IllegalArgumentException(valueName + " already exists in this enum");
|
||||
}
|
||||
nameMap.put(valueName, value);
|
||||
List<String> list = valueMap.get(value);
|
||||
|
Loading…
Reference in New Issue
Block a user