AppleSingle entry can have a length of 0. Adjusting the 'analyze'

related edit.
This commit is contained in:
Rob Greene 2022-06-05 16:46:42 -05:00
parent b21a7bb341
commit 0b1459931b
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class IntRange {
/** Create an integer range. */
public static IntRange of(int low, int high) {
if (low == high) throw new UnsupportedOperationException("low and high cannot be the same");
if (low > high) throw new UnsupportedOperationException("low cannot be greater than high");
return new IntRange(Math.min(low,high), Math.max(low,high));
}
/** Normalize a list by combining all integer ranges that match. */