mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
IDEA: don't serialize call graph when dev server completes build
This commit is contained in:
parent
ca017df6c9
commit
e8312021f2
|
@ -18,10 +18,8 @@ package org.teavm.idea.devserver;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.teavm.callgraph.CallGraph;
|
|
||||||
import org.teavm.diagnostics.Problem;
|
import org.teavm.diagnostics.Problem;
|
||||||
|
|
||||||
public class DevServerBuildResult implements Serializable {
|
public class DevServerBuildResult implements Serializable {
|
||||||
public CallGraph callGraph;
|
|
||||||
public final List<Problem> problems = new ArrayList<>();
|
public final List<Problem> problems = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
|
@ -327,7 +327,6 @@ public class DevServerRunner extends UnicastRemoteObject implements DevServerMan
|
||||||
@Override
|
@Override
|
||||||
public void compilationComplete(BuildResult buildResult) {
|
public void compilationComplete(BuildResult buildResult) {
|
||||||
DevServerBuildResult result = new DevServerBuildResult();
|
DevServerBuildResult result = new DevServerBuildResult();
|
||||||
result.callGraph = buildResult.getCallGraph();
|
|
||||||
result.problems.addAll(buildResult.getProblems().getProblems());
|
result.problems.addAll(buildResult.getProblems().getProblems());
|
||||||
for (DevServerManagerListener listener : getListeners()) {
|
for (DevServerManagerListener listener : getListeners()) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user