mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
11 lines
205 B
Java
11 lines
205 B
Java
// "Replace loop with 'Arrays.fill()' method call" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
|
|
void fillByteArray() {
|
|
byte[] plaintext = {1,2,3,4,5};
|
|
Arrays.fill(plaintext, (byte) 0);
|
|
}
|
|
} |