Skip to content

Commit

Permalink
server: Remove unused {x,y}Axis from XySeriesStub
Browse files Browse the repository at this point in the history
Change-Id: I9a62bba8eb305b9268953bd54468e8c944abc5f1
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193341
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
  • Loading branch information
marco-miller committed May 25, 2022
1 parent 9c109ee commit a1b3504
Showing 1 changed file with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import java.util.List;
import java.util.Objects;

import org.eclipse.jdt.annotation.Nullable;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand All @@ -34,8 +32,6 @@ public class XySeriesStub implements Serializable {
private final List<Long> fXValues;
private final List<Double> fYValues;
private final OutputElementStyleStub fStyle;
private final XyAxisStub fXAxis;
private final XyAxisStub fYAxis;

/**
* {@link JsonCreator} Constructor for final fields
Expand All @@ -48,10 +44,6 @@ public class XySeriesStub implements Serializable {
* The values for the x axis of this series
* @param yValues
* The values for the y axis of this series
* @param xAxis
* The x axis
* @param yAxis
* The y axis
* @param style
* The style for this series
*/
Expand All @@ -60,16 +52,12 @@ public XySeriesStub(@JsonProperty("seriesName") String name,
@JsonProperty("seriesId") Integer id,
@JsonProperty("xValues") List<Long> xValues,
@JsonProperty("yValues") List<Double> yValues,
@JsonProperty("xAxis") XyAxisStub xAxis,
@JsonProperty("yAxis") XyAxisStub yAxis,
@JsonProperty("style") OutputElementStyleStub style) {
fName = Objects.requireNonNull(name, "The 'seriesName' json field was not set");
fId = Objects.requireNonNull(id, "The 'seriesId' json field was not set");
fXValues = Objects.requireNonNull(xValues, "The 'xValues' json field was not set");
fYValues = Objects.requireNonNull(yValues, "The 'yValues' json field was not set");
fStyle = Objects.requireNonNull(style, "The 'style' json field was not set");
fXAxis = xAxis;
fYAxis = yAxis;
}

/**
Expand Down Expand Up @@ -116,22 +104,4 @@ public List<Double> getYValues() {
public OutputElementStyleStub getStyle() {
return fStyle;
}

/**
* Get the X axis description for this series, if provided
*
* @return The x axis
*/
public @Nullable XyAxisStub getXAxis() {
return fXAxis;
}

/**
* Get the X axis description for this series, if provided
*
* @return The y axis
*/
public @Nullable XyAxisStub getYAxis() {
return fYAxis;
}
}

0 comments on commit a1b3504

Please sign in to comment.