This commit is contained in:
dfsek
2022-05-29 23:46:05 -07:00
parent 77ba13ce93
commit da28244f81

View File

@@ -19,7 +19,7 @@ public class ConstantRange implements Range {
private int max;
public ConstantRange(int min, int max) {
if(min > max) throw new IllegalArgumentException("Minimum must not be grater than maximum!");
if(min > max) throw new IllegalArgumentException("Minimum must not be greater than maximum!");
this.max = max;
this.min = min;
}