Skip to content

Commit

Permalink
Remove redundant else
Browse files Browse the repository at this point in the history
  • Loading branch information
oneonestar authored and mosabua committed Oct 31, 2024
1 parent 2add137 commit 5e1fedf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ public static Optional<String> extractQueryIdIfPresent(String path, String query
|| tokens[1].equals("partialCancel")) {
return Optional.of(tokens[2]);
}
else {
return Optional.of(tokens[1]);
}
return Optional.of(tokens[1]);
}
}
else if (path.startsWith(TRINO_UI_PATH)) {
Expand Down

0 comments on commit 5e1fedf

Please sign in to comment.