Skip to content

Commit

Permalink
fix check warning
Browse files Browse the repository at this point in the history
  • Loading branch information
theKBro committed Nov 4, 2024
1 parent 26e6452 commit 4cb69c1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ String convertFileUriSchemeToPath(final String fileName) {
File file = new File(new URI(fileName));
return file.toPath().toString();
}
catch (URISyntaxException | InvalidPathException e)
{
catch (URISyntaxException | InvalidPathException ignored) {
// ignore
}
return fileName;

Check warning on line 43 in src/main/java/edu/hm/hafner/analysis/parser/violations/SarifAdapter.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 40-43 are not covered by tests
Expand Down

0 comments on commit 4cb69c1

Please sign in to comment.