Skip to content

Commit

Permalink
server: Remove unused commonXAxis from XyModelStub
Browse files Browse the repository at this point in the history
Change-Id: I61a9a105aca3a0de07b588851a9cc1593ccfe7fd
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193171
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
  • Loading branch information
marco-miller committed May 20, 2022
1 parent 353070a commit 04e47e9
Showing 1 changed file with 1 addition and 18 deletions.
Expand Up @@ -14,8 +14,6 @@
import java.util.Objects;
import java.util.Set;

import org.eclipse.jdt.annotation.Nullable;

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

Expand All @@ -31,7 +29,6 @@ public class XyModelStub implements Serializable {

private final Set<XySeriesStub> fSeries;
private final String fTitle;
private final @Nullable Boolean fCommonXAxis;

/**
* {@link JsonCreator} Constructor for final fields
Expand All @@ -40,16 +37,12 @@ public class XyModelStub implements Serializable {
* The set of series for this model
* @param title
* The title of this model
* @param commonXAxis
* Whether it uses a common X axis
*/
@JsonCreator
public XyModelStub(@JsonProperty("series") Set<XySeriesStub> series,
@JsonProperty("title") String title,
@JsonProperty("commonXAxis") Boolean commonXAxis) {
@JsonProperty("title") String title) {
fSeries = Objects.requireNonNull(series, "The 'series' json field was not set");
fTitle = Objects.requireNonNull(title, "The 'title' json field was not set");
fCommonXAxis = commonXAxis;
}

/**
Expand All @@ -69,14 +62,4 @@ public Set<XySeriesStub> getSeries() {
public String getTitle() {
return fTitle;
}

/**
* Get whether this model uses a common x axis
*
* @return Whether this model uses a common x axis
*/
public @Nullable Boolean getCommonXAxis() {
return fCommonXAxis;
}

}

0 comments on commit 04e47e9

Please sign in to comment.