Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
j2me
/
ArrayLengthInLoopConditionInspection.java
blob: 7dfe824e1fbaeff4925b2bfe2dec6179062365aa [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
j2me
;
public
class
ArrayLengthInLoopConditionInspection
{
public
void
foo
()
{
int
[]
bar
=
new
int
[
6
];
for
(
int
i
=
0
;
i
<
bar
.
length
;
i
++)
{
}
while
(
bar
.
length
!=
4
)
{
foo
();
}
do
{
foo
();
}
while
(
bar
.
length
!=
4
);
}
}