Intellij idea 告警:'while' statement cannot complete without throwing an exception
时间:2019-06-14 22:28:53
收藏:0
阅读:951
有时候这个告警是多余的,例如我们手写的监控线程。
如果有消除告警强迫症。在线程的执行方法上加入注解。
@SuppressWarnings("InfiniteLoopStatement") public void run() { ... }
原文:https://www.cnblogs.com/yoyotl/p/11025700.html
评论(0)