mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 02:50:55 +07:00
pessimistic approach for now: even if the condition consists of array access only; do not depend on the order of found references GitOrigin-RevId: 0d111aad6b69729404183520d1f4d01cba583a1c
17 lines
399 B
Java
17 lines
399 B
Java
class Foo {
|
|
boolean bar(String[][] a) {
|
|
for (int i = 0; i < a.length; i++)
|
|
for (int j = 0; i < a[i].length; j++) {
|
|
if (newMethod(a, i, j)) return true;
|
|
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private boolean newMethod(String[][] a, int i, int j) {
|
|
if (a[i][j].length() > 3 && i % 3 == 0)
|
|
return true;
|
|
return false;
|
|
}
|
|
}
|