Sometimes this warning is superfluous, such as our handwriting monitoring thread.
If there is an alarm eliminate obsessive-compulsive disorder. Adding a note on the implementation of the method of the thread.
@SuppressWarnings("InfiniteLoopStatement") public void run() { ... }