package skadistats.clarity.model;

public class BuildNumberRange {
    private final Integer start;
    private final Integer end;

    public BuildNumberRange(Integer start, Integer end) {
        this.start = start;
        this.end = end;
    }

    public boolean appliesTo(int buildNumber) {
        return buildNumber != -1 && (start == null || start <= buildNumber) && (end == null || end >= buildNumber);
    }
}

@@ -286,24 +286,79 @@
 ldNumber) %7B%0A
+        if (start == null && end == null) return true;%0A
         retu

make Build-Range(null, null) apply even when the build number is not known