From 50ea36f91896a3cd0626fe41c6ede625051b5a42 Mon Sep 17 00:00:00 2001 From: Mary Georgiou <89914005+mary-georgiou-sonarsource@users.noreply.github.com> Date: Fri, 10 May 2024 09:36:58 +0200 Subject: [PATCH] Modify rule S5786: Fix rule link --- rules/S5786/java/rule.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/S5786/java/rule.adoc b/rules/S5786/java/rule.adoc index 6612d3e3f3f..6bd80c303cf 100644 --- a/rules/S5786/java/rule.adoc +++ b/rules/S5786/java/rule.adoc @@ -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