diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.html index e2d782fc974..46ed9df247d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.html @@ -28,6 +28,4 @@

Compliant Solution

public void testDoTheThing() { // ... -

Exceptions

-

None

diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json index be32285115c..e1c6919d9ff 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json @@ -9,6 +9,8 @@ "tags": [ "junit", "tests", + "bad-practice", + "confusing", "suspicious" ], "defaultSeverity": "Major", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.html index ea6c9b98acc..af1be60862b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.html @@ -32,12 +32,7 @@

Compliant Solution

See

diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html index c786e0762ea..cbc114a980d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html @@ -111,7 +111,7 @@

See

  • MITRE, CWE-20 - Improper Input Validation
  • MITRE, CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion')
  • -
  • MITRE, CWE-200 - Information Exposure
  • +
  • MITRE, CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
  • SANS Top 25 - Risky Resource Management
  • SANS Top 25 - Porous Defenses
  • diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.html index 3360322934c..f1935889e4e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.html @@ -1,5 +1,5 @@ -

    Assertions of dissimilar types always fail, and negative assertions always pass. At best, negative assertions are useless. At worst, the developer -loses time trying to fix his code logic before noticing wrong assertions.

    +

    Assertions comparing incompatible types always fail, and negative assertions always pass. At best, negative assertions are useless. At worst, the +developer loses time trying to fix his code logic before noticing wrong assertions.

    Dissimilar types are: