src/main/java/org/starrier/common/utils/ScheduleUtil.java
Showing 1 of 1 total issue
Method stop
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
public static void stop(SRunnable sr) { if (sr.getName() == null) { throw new UnsupportedOperationException("停止线程时,线程名不能为空!"); } if (pool == null || pool.isShutdown()) return;//服务未启动
- Read upRead up