Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Jan 5, 2025
1 parent ad63ac5 commit 3421fa9
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 3421fa9

Please sign in to comment.