mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
check for list size: skiped varargs parameter (16666)
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public class ChangeSignatureUtil {
|
||||
if (elementsToRemove == null) {
|
||||
elementsToRemove = new ArrayList<Child>();
|
||||
for (int i = 0; i < shouldRemoveChild.length; i++) {
|
||||
if (shouldRemoveChild[i]) {
|
||||
if (shouldRemoveChild[i] && i < elements.size()) {
|
||||
elementsToRemove.add(elements.get(i));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user