Skip to content

Commit

Permalink
analysis.graph: Cleanup non-API deprecation issues in dependency graph
Browse files Browse the repository at this point in the history
Fixes issue eclipse-tracecompass#87

[Removed] CriticalPathPalette

Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
  • Loading branch information
PatrickTasse committed May 23, 2024
1 parent f5c4c28 commit ece88a6
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 42 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import org.eclipse.tracecompass.analysis.graph.core.graph.ITmfGraph;
import org.eclipse.tracecompass.analysis.graph.core.graph.ITmfGraphVisitor;
import org.eclipse.tracecompass.analysis.graph.core.graph.ITmfVertex;
import org.eclipse.tracecompass.analysis.graph.core.graph.TmfGraphFactory;
import org.eclipse.tracecompass.common.core.NonNullUtils;
import org.eclipse.tracecompass.internal.analysis.graph.core.base.TmfEdge.EdgeType;
import org.eclipse.tracecompass.internal.analysis.graph.core.base.TmfVertex.EdgeDirection;
Expand All @@ -55,10 +54,7 @@
*
* @author Francis Giraldeau
* @author Geneviève Bastien
* @deprecated Use the {@link ITmfGraph} API instead, and the
* {@link TmfGraphFactory} to create new graphs.
*/
@Deprecated
public class TmfGraph {

private final ListMultimap<IGraphWorker, TmfVertex> fNodeMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.eclipse.tracecompass.analysis.graph.core.building.AbstractTmfGraphBuilderModule;
import org.eclipse.tracecompass.analysis.graph.core.criticalpath.ICriticalPathProvider;
import org.eclipse.tracecompass.analysis.graph.core.criticalpath.OSCriticalPathModule;
import org.eclipse.tracecompass.internal.analysis.graph.core.base.TmfGraph;
import org.eclipse.tracecompass.tmf.core.analysis.TmfAbstractAnalysisModule;
import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;

Expand All @@ -30,7 +29,6 @@
* @author Francis Giraldeau
* @author Geneviève Bastien
*/
@Deprecated
public class CriticalPathModule extends TmfAbstractAnalysisModule implements ICriticalPathProvider {
/**
* Analysis ID for this module
Expand Down Expand Up @@ -82,10 +80,6 @@ private CriticalPathModule getCriticalPathModule() {
return Objects.requireNonNull(fCriticalPathModule);
}

public @Nullable TmfGraph getCriticalPath() {
return getCriticalPathModule().getCriticalPath();
}

@Override
protected boolean executeAnalysis(IProgressMonitor monitor) throws TmfAnalysisException {
return getCriticalPathModule().executeAnalysis(monitor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*
* @author Geneviève Bastien
*/
@SuppressWarnings("deprecation")
public class TmfGraphLegacyWrapper implements ITmfGraph {

/* Latch tracking if the graph is done building or not */
Expand Down

0 comments on commit ece88a6

Please sign in to comment.