Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
explicitArrayFilling
/
beforeByteArray.java
blob: 270f8653aca73a940cbfcac0086409a9eccee4e3 [
file
]
// "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
;
}
}
}