11package com .checkmarx .intellij .devassist .problems ;
22
3+ import com .checkmarx .intellij .devassist .model .ScanIssue ;
34import com .checkmarx .intellij .devassist .remediation .CxOneAssistFix ;
4- import com .checkmarx .intellij .devassist .remediation .IgnoreAllThisTypeFix ;
5- import com .checkmarx .intellij .devassist .remediation .IgnoreVulnerabilityFix ;
65import com .checkmarx .intellij .devassist .remediation .ViewDetailsFix ;
7- import com .checkmarx .intellij .devassist .model .ScanIssue ;
86import com .checkmarx .intellij .devassist .ui .ProblemDescription ;
97import com .checkmarx .intellij .devassist .utils .DevAssistUtils ;
108import com .checkmarx .intellij .util .SeverityLevel ;
@@ -43,7 +41,8 @@ public class ProblemBuilder {
4341 /**
4442 * Private constructor to prevent instantiation.
4543 */
46- private ProblemBuilder () {}
44+ private ProblemBuilder () {
45+ }
4746
4847 /**
4948 * Initializes the mapping from severity levels to problem highlight types.
@@ -59,12 +58,12 @@ private static void initSeverityToHighlightMap() {
5958 /**
6059 * Builds a ProblemDescriptor for the given scan issue.
6160 *
62- * @param file the PsiFile being inspected
63- * @param manager the InspectionManager
64- * @param scanIssue the scan issue
65- * @param document the document
61+ * @param file the PsiFile being inspected
62+ * @param manager the InspectionManager
63+ * @param scanIssue the scan issue
64+ * @param document the document
6665 * @param problemLineNumber the line number where the problem was found
67- * @param isOnTheFly whether the inspection is on-the-fly
66+ * @param isOnTheFly whether the inspection is on-the-fly
6867 * @return a ProblemDescriptor instance
6968 */
7069 static ProblemDescriptor build (@ NotNull PsiFile file , @ NotNull InspectionManager manager ,
@@ -82,9 +81,9 @@ static ProblemDescriptor build(@NotNull PsiFile file, @NotNull InspectionManager
8281 highlightType ,
8382 isOnTheFly ,
8483 new CxOneAssistFix (scanIssue ),
85- new ViewDetailsFix (scanIssue ),
86- new IgnoreVulnerabilityFix (scanIssue ),
87- new IgnoreAllThisTypeFix (scanIssue )
84+ new ViewDetailsFix (scanIssue )
85+ /* new IgnoreVulnerabilityFix(scanIssue),
86+ new IgnoreAllThisTypeFix(scanIssue)*/
8887 );
8988 }
9089
0 commit comments