Explorar o código

fix runnable.run() method call the Thread.start() method instead

matsutani %!s(int64=9) %!d(string=hai) anos
pai
achega
2069b7d540

+ 2 - 1
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

@@ -120,7 +120,8 @@ public class FessMailDeliveryDepartmentCreator {
         asyncManager.async(new ConcurrentAsyncCall() {
             @Override
             public void callback() {
-                runnable.run();
+                Thread thrd = new Thread(runnable);
+                thrd.start();
             }
 
             @Override