ineter icon indicating copy to clipboard operation
ineter copied to clipboard

An ArrayIndexOutOfBoundsException occurred when I used the method withReomved(Collection<IPRange>)

Open XML-FJ opened this issue 11 months ago • 1 comments

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).

XML-FJ avatar Aug 14 '23 01:08 XML-FJ