Skip to content

Commit

Permalink
Modify rule S5786: Fix rule link
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-georgiou-sonarsource committed May 10, 2024
1 parent b81aff2 commit 50ea36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S5786/java/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The code will be non-conventional and readability can be slightly affected.
=== Exceptions

This rule does not raise an issue when the visibility is set to `private`, because `private` test methods and classes are systematically ignored by JUnit5, without a proper warning.
In this case, there is also an impact on reliability and so it is handled by the rule https://rules.sonarsource.com/java/RSPEC-5810/[S5810].
In this case, there is also an impact on reliability and so it is handled by the rule S5810.

== How to fix it

Expand Down

0 comments on commit 50ea36f

Please sign in to comment.