Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
threading
/
BusyWaitInspection.java
blob: fb9b020922f5f9b868dd043f22dcb29219433358 [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
threading
;
public
class
BusyWaitInspection
{
public
void
fooBar
()
{
while
(
true
)
{
try
{
Thread
.
sleep
(
1L
);
}
catch
(
InterruptedException
e
)
{
e
.
printStackTrace
();
}
}
}
}