Skip to content

Commit

Permalink
Bug 581856: Remove the deprecated getXValues()
Browse files Browse the repository at this point in the history
Deprecated in commit 843c8f4, since v8.0.0.

[Removed] o.e.t.tmf.core.model.TmfCommonXAxisModel.getXValues()
[Removed] o.e.t.tmf.core.model.xy.ITmfCommonXAxisModel.getXValues()

Change-Id: Iadd52a8c02e615d8b04c7a5de655d3eb78b8bc45
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/201590
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 Apr 28, 2023
1 parent bc26659 commit 2c4b82d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
Expand Up @@ -67,15 +67,6 @@ public TmfCommonXAxisModel(String title, long[] xValues, Collection<IYModel> ySe
fSeries = ImmutableList.copyOf(series);
}

/**
* @deprecated As currently unused, at least in o.e.tracecompass.
*/
@Deprecated
@Override
public long[] getXValues() {
return fXValues;
}

@Override
public @Nullable String getTitle() {
return fTitle;
Expand All @@ -87,9 +78,9 @@ public long[] getXValues() {
}

/**
* @deprecated As {@link #getXValues()} is unused, which defeats the whole
* purpose of {@link ITmfCommonXAxisModel} including
* {@link #getYSeriesData()}'s.
* @deprecated As the former #getXValues() was unused (thus removed), which
* defeats the whole purpose of {@link ITmfCommonXAxisModel}
* including {@link #getYSeriesData()}'s.
*/
@Deprecated
@Override
Expand Down
Expand Up @@ -35,21 +35,13 @@
*
* @author Yonni Chen
* @since 4.0
* @deprecated As {@link #getXValues()} is currently unused, at least in
* org.eclipse.tracecompass. This defeats the purpose of
* @deprecated As the former #getXValues() was unused (thus removed), at least
* in org.eclipse.tracecompass. This defeats the purpose of
* {@link #getYSeriesData()} thus this whole interface.
*/
@Deprecated
public interface ITmfCommonXAxisModel extends ITmfXyModel {

/**
* Get the X values
*
* @return The x values
* @since 5.0
*/
long[] getXValues();

/**
* Get the collection of {@link IYModel}
*
Expand Down

0 comments on commit 2c4b82d

Please sign in to comment.