From 1a47dfe94d562788c19f816e2c34f90befc2dd7f Mon Sep 17 00:00:00 2001 From: Louis Vignier Date: Tue, 25 Apr 2023 18:41:19 +0200 Subject: [PATCH] [codeInspection] Fix platform inspection descriptions GitOrigin-RevId: e7aa72a7617ed91803722dacf8b53cb21b7ff760 --- .../IgnoreFileDuplicateEntry.html | 6 +++--- .../inspectionDescriptions/RedundantSuppression.html | 10 +++++----- .../src/inspectionDescriptions/InjectedReferences.html | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/platform/platform-resources-en/src/inspectionDescriptions/IgnoreFileDuplicateEntry.html b/platform/platform-resources-en/src/inspectionDescriptions/IgnoreFileDuplicateEntry.html index 27e33d5f99ea..5b34bdd88e43 100644 --- a/platform/platform-resources-en/src/inspectionDescriptions/IgnoreFileDuplicateEntry.html +++ b/platform/platform-resources-en/src/inspectionDescriptions/IgnoreFileDuplicateEntry.html @@ -4,11 +4,11 @@ Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgign Duplicate entries in these files are redundant and can be removed.

Example:

-
+

     # Output directories
     /out/
     /target/
-    /out/
-
+ /out/ +
\ No newline at end of file diff --git a/platform/platform-resources-en/src/inspectionDescriptions/RedundantSuppression.html b/platform/platform-resources-en/src/inspectionDescriptions/RedundantSuppression.html index 762f1effd4e4..5b2e63f7629b 100644 --- a/platform/platform-resources-en/src/inspectionDescriptions/RedundantSuppression.html +++ b/platform/platform-resources-en/src/inspectionDescriptions/RedundantSuppression.html @@ -7,14 +7,14 @@ Reports usages of the following elements that can be safely removed because the
  • /** noinspection */ JavaDoc comment
  • Example:

    -
    
    -public class C {
    +
    
    +public class C {
      // symbol is already private,
      // but annotation is still around
       @SuppressWarnings({"WeakerAccess"})
    - private boolean CONST = true;
    - void f() {
    -    CONST = false;
    +  private boolean CONST = true;
    +  void f() {
    +    CONST = false;
       }
     }
     
    diff --git a/plugins/IntelliLang/src/inspectionDescriptions/InjectedReferences.html b/plugins/IntelliLang/src/inspectionDescriptions/InjectedReferences.html index ba10d5bacec8..fe78207405e1 100644 --- a/plugins/IntelliLang/src/inspectionDescriptions/InjectedReferences.html +++ b/plugins/IntelliLang/src/inspectionDescriptions/InjectedReferences.html @@ -3,9 +3,9 @@ Reports unresolved references injected by Language Injections.

    Example:

    -
    +
    
         @Language("file-reference")
         String fileName = "/home/user/nonexistent.file"; // highlighted if file doesn't exist
    -
    +
    \ No newline at end of file