Skip to content

Commit

Permalink
Suppress sonar warnings about deprecated code being removed someday
Browse files Browse the repository at this point in the history
  • Loading branch information
davet1985 committed Feb 5, 2025
1 parent 8e054ef commit 0b96e50
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ HearingEntity retrieveOrCreateHearing(String courthouseName, String courtroomNam
* Retrieve or create a case and link to media.
* @deprecated This method is only used by tests. Tests should be refactored and this method should be removed.
*/
@SuppressWarnings("java:S1133")
@Deprecated(since = "04/02/2025")
HearingEntity retrieveOrCreateHearingWithMedia(String courthouseName, String courtroomName, String caseNumber, LocalDateTime hearingDate,
UserAccountEntity userAccount, MediaEntity mediaEntity);
Expand All @@ -52,6 +53,7 @@ HearingEntity retrieveOrCreateHearingWithMedia(String courthouseName, String cou
* @deprecated This method is only used by tests.
* Tests should be refactored to use the other `retrieveOrCreateCourtroom` method, and this method should be removed.
*/
@SuppressWarnings("java:S1133")
@Deprecated(since = "04/02/2025")
CourtroomEntity retrieveOrCreateCourtroom(CourthouseEntity courthouse, String courtroomName, UserAccountEntity userAccount);

Expand Down Expand Up @@ -87,6 +89,7 @@ HearingEntity retrieveOrCreateHearingWithMedia(String courthouseName, String cou
* @deprecated This method is only used by tests.
* Tests should be refactored to use the other `retrieveOrCreateCase` method, and this method should be removed.
*/
@SuppressWarnings("java:S1133")
@Deprecated(since = "04/02/2025")
CourtCaseEntity retrieveOrCreateCase(String courthouseName, String caseNumber, UserAccountEntity userAccount);

Expand Down

0 comments on commit 0b96e50

Please sign in to comment.