]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13923 Remove the mention of Checkstyle in /api/issues/search
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Tue, 9 Feb 2021 16:30:10 +0000 (10:30 -0600)
committersonartech <sonartech@sonarsource.com>
Wed, 10 Feb 2021 20:07:16 +0000 (20:07 +0000)
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/search-example.json

index 59325f9a192c619b9de60641c9f5088a6ec06b30..d4b35d29bfe5f432a1ac6df0947655d270b8acb5 100644 (file)
@@ -9,11 +9,11 @@
       "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
       "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
       "project": "com.github.kevinsawicki:http-request",
-      "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
+      "rule": "java:S1144",
       "status": "RESOLVED",
-      "resolution": "FALSE-POSITIVE",
-      "severity": "MINOR",
-      "message": "'3' is a magic number.",
+      "resolution": "WONTFIX",
+      "severity": "MAJOR",
+      "message": "Remove this unused private \"getKee\" method.",
       "line": 81,
       "hash": "a227e508d6646b55a086ee11d63b21e9",
       "author": "Developer 1",
       "tags": [
         "bug"
       ],
-      "type": "RELIABILITY",
+      "type": "CODE_SMELL",
       "comments": [
         {
           "key": "7d7c56f5-7b5a-41b9-87f8-36fa70caa5ba",
           "login": "john.smith",
-          "htmlText": "Must be &quot;final&quot;!",
-          "markdown": "Must be \"final\"!",
+          "htmlText": "Must be &quot;public&quot;!",
+          "markdown": "Must be \"public\"!",
           "updatable": false,
           "createdAt": "2013-05-13T18:08:34+0200"
         }
@@ -38,9 +38,7 @@
         "jira-issue-key": "SONAR-1234"
       },
       "transitions": [
-        "unconfirm",
-        "resolve",
-        "falsepositive"
+        "reopen"
       ],
       "actions": [
         "comment"
   ],
   "rules": [
     {
-      "key": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
-      "name": "Magic Number",
+      "key": "java:S1144",
+      "name": "Unused \"private\" methods should be removed",
       "status": "READY",
       "lang": "java",
       "langName": "Java"