Skip to content

Commit

Permalink
suppress warning from sonar for usage of throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsmt211 committed Sep 2, 2024
1 parent 49f7503 commit 15cb304
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void runRoutine(JDA jda) {
updateTicketStatus(jda);
}

@SuppressWarnings("java:S1181")
private void updateTicketStatus(JDA jda) {
Instant now = Instant.now();
Instant threeDaysAgo = now.minus(3, ChronoUnit.DAYS);
Expand Down

0 comments on commit 15cb304

Please sign in to comment.