mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
16 lines
276 B
Java
16 lines
276 B
Java
// "Replace loop with 'Arrays.fill()' method call" "true"
|
|
package pack;
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class TableWrapper {
|
|
|
|
int[] table;
|
|
|
|
public void clear() {
|
|
int[] tab;
|
|
if ((tab = table) != null && table.length > 0) {
|
|
Arrays.fill(tab, 0);
|
|
}
|
|
}
|
|
} |