Skip to content

Commit

Permalink
scripting: Fix TmfScriptAnalysis @SuppressWarnings
Browse files Browse the repository at this point in the history
As it ended up on the wrong method by mistake.

Change-Id: I6c651762add0b109d92418c09a2c72a2dc2ecad9
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/197061
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 5, 2022
1 parent ed80e6d commit c070ca2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,14 +75,14 @@ private Path getStateSystemFolder() {
return Objects.requireNonNull(Paths.get(suppDir, SUPP_FOLDER, STATE_SYSTEM_FOLDER));
}

@SuppressWarnings("null")
@Override
protected boolean executeAnalysis(IProgressMonitor monitor) throws TmfAnalysisException {
// Historically expect files to be ready for reading during this stage.
readStateSystemsIfReady(true);
return true;
}

@SuppressWarnings("null")
private void readStateSystemsIfReady(boolean expectAlwaysReadable) {
Path suppFolder = getStateSystemFolder();
if (Files.exists(suppFolder)) {
Expand Down

0 comments on commit c070ca2

Please sign in to comment.