From e8312021f2f4e62e17af699f11e857dec814d9ad Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 27 Feb 2019 13:24:12 +0300 Subject: [PATCH] IDEA: don't serialize call graph when dev server completes build --- .../java/org/teavm/idea/devserver/DevServerBuildResult.java | 2 -- .../src/main/java/org/teavm/idea/devserver/DevServerRunner.java | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerBuildResult.java b/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerBuildResult.java index 5989d58e3..8104c7c3a 100644 --- a/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerBuildResult.java +++ b/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerBuildResult.java @@ -18,10 +18,8 @@ package org.teavm.idea.devserver; import java.io.Serializable; import java.util.ArrayList; import java.util.List; -import org.teavm.callgraph.CallGraph; import org.teavm.diagnostics.Problem; public class DevServerBuildResult implements Serializable { - public CallGraph callGraph; public final List problems = new ArrayList<>(); } diff --git a/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerRunner.java b/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerRunner.java index 843427e01..fe4c46103 100644 --- a/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerRunner.java +++ b/tools/idea/plugin/src/main/java/org/teavm/idea/devserver/DevServerRunner.java @@ -327,7 +327,6 @@ public class DevServerRunner extends UnicastRemoteObject implements DevServerMan @Override public void compilationComplete(BuildResult buildResult) { DevServerBuildResult result = new DevServerBuildResult(); - result.callGraph = buildResult.getCallGraph(); result.problems.addAll(buildResult.getProblems().getProblems()); for (DevServerManagerListener listener : getListeners()) { try {