Unnecessary empty check
This commit is contained in:
parent
65d166b909
commit
5ffe6aea7a
|
@ -61,9 +61,6 @@ public class Main {
|
|||
|
||||
var sub = map.subMap(minKey, true, maxKey, true);
|
||||
|
||||
if (sub.isEmpty())
|
||||
return Stream.of(r);
|
||||
|
||||
var newRanges = new ArrayList<NumberRange<Long>>();
|
||||
var starts = new ArrayList<Long>();
|
||||
starts.add(r.getMinimum());
|
||||
|
|
Loading…
Reference in New Issue