mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup
This commit is contained in:
@@ -50,7 +50,6 @@ import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@@ -77,12 +76,7 @@ public final class ExecutionHandler {
|
||||
);
|
||||
if (result != null) {
|
||||
try {
|
||||
long l = System.currentTimeMillis();
|
||||
try {
|
||||
return result.get();
|
||||
} finally {
|
||||
new Throwable(EventQueue.isDispatchThread() + ": " + (System.currentTimeMillis() - l)).printStackTrace(System.out);
|
||||
}
|
||||
return result.get();
|
||||
}
|
||||
catch (InterruptedException | java.util.concurrent.ExecutionException e) {
|
||||
LOG.warn(e);
|
||||
|
||||
Reference in New Issue
Block a user