Changing notation to (hopefully) be more clear on ranges.
This commit is contained in:
parent
0f6fceaa55
commit
c1349bade8
|
@ -61,6 +61,6 @@ public class IntRange {
|
|||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("[%d..%d)", low, high);
|
||||
return String.format("%d..%d", low, high-1);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue