Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Empty While Statement finds all instances where a while statement does nothing. If it is a timing loop, then you should use Thread.sleep() for it; if it's a while loop that does a lot in the exit expression, rewrite it to make it clearer.
New to GrepCode? Check out our FAQ X