ineter
ineter copied to clipboard
An ArrayIndexOutOfBoundsException occurred when I used the method withReomved(Collection<IPRange>)
Hello, when I used the method withRemoved(Collection<IPRange> ranges)
, if this IPRange All removed by ranges, and ranges still have elements, ret.remove()
will throw an ArrayIndexOutOfBoundsException
. If ret.size
equals to 0, it should return an empty list in advance, similar to the method withRemoved(IPRange)
.