Fix error after merging
@@ -23,12 +23,7 @@ import eu.fasten.analyzer.javacgopal.data.analysis.OPALClassHierarchy;
import eu.fasten.analyzer.javacgopal.data.analysis.OPALMethod;
import eu.fasten.analyzer.javacgopal.data.analysis.OPALType;
import eu.fasten.analyzer.javacgopal.data.exceptions.OPALException;
-import eu.fasten.core.data.Constants;
-import eu.fasten.core.data.ExtendedRevisionJavaCallGraph;
-import eu.fasten.core.data.Graph;
-import eu.fasten.core.data.JavaScope;
-import eu.fasten.core.data.JavaType;
-import eu.fasten.core.data.FastenURI;
+import eu.fasten.core.data.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Comparator;
@@ -124,13 +119,15 @@ public class PartialCallGraph {
final var partialCallGraph = new PartialCallGraph(opalCG);
- return new ExtendedRevisionCallGraph(Constants.mvnForge, coordinate.getProduct(),
+ return new ExtendedRevisionJavaCallGraph(Constants.mvnForge, coordinate.getProduct(),
coordinate.getVersionConstraint(), timestamp,
partialCallGraph.getNodeCount(), Constants.opalGenerator,
partialCallGraph.getClassHierarchy(),
partialCallGraph.getGraph());
} finally {
- if (file != null){ file.delete();}
+ if (file != null) {
+ file.delete();
+ }
}
}
