mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AIOOB
This commit is contained in:
@@ -1069,8 +1069,8 @@ public abstract class ChooseByNameBase {
|
||||
|
||||
@Override
|
||||
public void removeRangeFromModel(int start, int end) {
|
||||
if (start < size()) {
|
||||
removeRange(start, Math.min(end, size()));
|
||||
if (start < size() && size() != 0) {
|
||||
removeRange(start, Math.min(end, size()-1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user