Skip to content

Commit

Permalink
scripting: Fix linter warning in TmfScriptAnalysis
Browse files Browse the repository at this point in the history
Rather than introducing a potentially non-API compliant external
annotation, suppress this previous SonarLint warning this way, for the
executeAnalysis method.

Change-Id: I28a795e540cc99fbb0ae8df864e4ac2c9790bab2
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/197317
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 Dec 1, 2022
1 parent 69bbe6f commit e3f7755
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private Path getStateSystemFolder() {
return Objects.requireNonNull(Paths.get(suppDir, SUPP_FOLDER, STATE_SYSTEM_FOLDER));
}

@SuppressWarnings("null")
@Override
protected boolean executeAnalysis(IProgressMonitor monitor) throws TmfAnalysisException {

Expand Down

0 comments on commit e3f7755

Please sign in to comment.