mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 07:31:38 +00:00
Merge remote-tracking branch 'origin/GP-1173-dragonmacher-error-message'
into patch (Closes #3246)
This commit is contained in:
commit
8f0248e2af
@ -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