From 3268d0564f0662b96c196729bf6a876af4beb2d6 Mon Sep 17 00:00:00 2001 From: Mikhail Shagvaliev Date: Mon, 8 Jul 2024 19:38:45 +0200 Subject: [PATCH] [hardcoded-passwords] QD-8998 provide custom configuration to HardcodedPasswords from qodana yaml (cherry picked from commit 78721044fad224d56dd3439c577bffd0098ff8a8) IJ-CR-139669 GitOrigin-RevId: 1cc78b4bf95df3c1aa87d102a4a9a39721acb9cf --- .../codeInspection/InspectionProfileLoaderBase.java | 5 ----- .../inspectionProfile/YamlInspectionProfileImpl.kt | 10 ++++++++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/platform/inspect/src/com/intellij/codeInspection/InspectionProfileLoaderBase.java b/platform/inspect/src/com/intellij/codeInspection/InspectionProfileLoaderBase.java index add21b492ecf..d7c4892b49eb 100644 --- a/platform/inspect/src/com/intellij/codeInspection/InspectionProfileLoaderBase.java +++ b/platform/inspect/src/com/intellij/codeInspection/InspectionProfileLoaderBase.java @@ -10,8 +10,6 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.yaml.snakeyaml.parser.ParserException; -import java.io.File; - public abstract class InspectionProfileLoaderBase implements InspectionProfileLoader { protected Project project; @@ -26,9 +24,6 @@ public abstract class InspectionProfileLoaderBase Reader = { val includePath = Path.of(configFile.parent).resolve(it)