@@ -0,0 +1,562 @@
+package me.dslztx.assist.util;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Apublic class ThreadAssist %7B%0A    private static final Logger logger = LoggerFactory.getLogger(ThreadAssist.class);%0A%0A    public static void sleep(long value, TimeUnit unit) %7B%0A        if (ObjectAssist.isNull(unit)) %7B%0A            throw new RuntimeException(%22time unit can not be null%22);%0A        %7D%0A%0A        try %7B%0A            unit.sleep(value);%0A        %7D catch (InterruptedException e) %7B%0A            logger.error(%22%22, e);%0A        %7D%0A    %7D%0A%7D%0A

add ThreadAssist class