@@ -0,0 +1,359 @@
+package org.ogcs.log.util;%0A%0A/**%0A * @author TinyZ%0A * @date 2016-08-13.%0A */%0Apublic class RuntimeUtil %7B%0A%0A    private RuntimeUtil() %7B%0A        //no-op%0A    %7D%0A%0A    public static void addShutdownHook(Runnable task) %7B%0A        if (task == null)%0A            throw new NullPointerException(%22task%22);%0A        Runtime.getRuntime().addShutdownHook(new Thread(task));%0A    %7D%0A%7D%0A

Add : RuntimeUtil