Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Aug 31, 2024
1 parent 28e1b46 commit 7d056a6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ private HgUrlParserResult parseScmUrl(String scmSpecificUrl) {
}
} else {
try {
@SuppressWarnings("unused")
File file = new File(scmSpecificUrl);
new File(scmSpecificUrl);
} catch (Throwable e) {
result.messages.add("The filename provided is not valid");

Expand Down

0 comments on commit 7d056a6

Please sign in to comment.