Skip to content

Commit

Permalink
timing: Fix the Eclipse build errors in IStatisticsAnalysis
Browse files Browse the repository at this point in the history
Fix the Eclipse build errors [1] in IStatisticsAnalysis. Also fix the
warning [2] while there (line 64). Based on Eclipse 2023-06 (4.28.0).

[1] 'E' is not a valid substitute for the type parameter '@nonnull E'.
[2] annotation is redundant with a default that applies to this location

Change-Id: I608cc47d7e8b957bf1aa789a56f46d8e24e31932
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203544
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 Aug 9, 2023
1 parent dd3d78a commit 4bb6d1e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@
* @author Matthew Khouzam
* @since 5.2
*/
public interface IStatisticsAnalysis<E> {
public interface IStatisticsAnalysis<@NonNull E> {

/**
* Get the total statistics for a specific range. If the range start is
Expand Down Expand Up @@ -61,7 +61,7 @@ public interface IStatisticsAnalysis<E> {
* @return The per type statistics, or <code>null</code> if data source is
* invalid or if the request is canceled
*/
Map<@NonNull String, IStatistics<@NonNull E>> getStatsPerTypeForRange(long start, long end, IProgressMonitor monitor);
Map<String, IStatistics<@NonNull E>> getStatsPerTypeForRange(long start, long end, IProgressMonitor monitor);

/**
* Get the statistics for the time range, all categories aggregated
Expand Down

0 comments on commit 4bb6d1e

Please sign in to comment.