mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
11 lines
249 B
Java
11 lines
249 B
Java
// "Replace loop with 'Arrays.fill()' method call" "true"
|
|
|
|
class Test {
|
|
|
|
void fillByteArray() {
|
|
byte[] plaintext = {1,2,3,4,5};
|
|
for (<caret>int counter = 0; counter < plaintext.length; counter++) {
|
|
plaintext[counter] = 0;
|
|
}
|
|
}
|
|
} |