Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
j2me
/
MethodCallInLoopConditionInspection.java
blob: 46ddf66f99335bafc188dbebbfe35f1c21068d7a [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
j2me
;
public
class
MethodCallInLoopConditionInspection
{
public
void
foo
()
{
for
(
int
i
=
0
;
i
<
bar
();
i
++)
{
}
while
(
bar
()
!=
4
)
{
foo
();
}
do
{
foo
();
}
while
(
bar
()
!=
4
);
}
private
int
bar
()
{
return
3
;
}
}