Skip to content

Commit

Permalink
Fix sonar finding complaining to use assertions only in test code. th…
Browse files Browse the repository at this point in the history
…is module is for test code. thus suppressing this warning.
  • Loading branch information
Sven Haag committed Jul 29, 2024
1 parent 8d647cc commit a50dadf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
*/
@RequestScoped
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = false)
@ToString
@SuppressWarnings("java:S5960") // Assertions are intended to be used in test code. This is test code.
public class MessageProducerMock implements MessageProducer {

private static final CuiLogger log = new CuiLogger(MessageProducerMock.class);
Expand Down

0 comments on commit a50dadf

Please sign in to comment.