mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
Fix typo in WildRange constructor error message
The AssertionError message incorrectly stated "max > max" instead of "min > max" when validating that min <= max.
This commit is contained in:
@@ -98,7 +98,7 @@ public class WildAssemblyParseToken extends AssemblyParseToken {
|
||||
public record WildRange(long min, long max) implements Comparable<WildRange> {
|
||||
public WildRange(long min, long max) {
|
||||
if (min > max) {
|
||||
throw new AssertionError("max > max");
|
||||
throw new AssertionError("min > max");
|
||||
}
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
|
||||
Reference in New Issue
Block a user