mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 08:34:22 +07:00
GitOrigin-RevId: 8a3a6eb1f8e5bbf2c73bebf2bdbfc489e7a5d136
16 lines
301 B
Java
16 lines
301 B
Java
// "Replace loop with 'Arrays.fill()' method call" "true"
|
|
package pack;
|
|
|
|
public class TableWrapper {
|
|
|
|
int[] table;
|
|
|
|
public void clear() {
|
|
int[] tab;
|
|
if ((tab = table) != null && table.length > 0) {
|
|
for (int<caret> i = 0; i < tab.length; ++i) {
|
|
tab[i] = 0;
|
|
}
|
|
}
|
|
}
|
|
} |