From 047a93c24f4eef3b2ebf254be9332d4340adbd04 Mon Sep 17 00:00:00 2001 From: Andrey Turbanov Date: Wed, 13 Apr 2022 12:56:23 +0300 Subject: [PATCH] Fix suspicious Map.get call --- .../org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java index 8aecf7b10..4c319d549 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java @@ -614,7 +614,7 @@ public class AjBuildConfig implements CompilerConfigurationChangeFlags { private void setOption(String optionKey, String lintValue, Map lintOptionsAccumulator) { if (lintOptionsMap!=null && lintOptionsMap.containsKey(optionKey)) { - String v = lintOptionsMap.get(lintOptionsMap); + String v = lintOptionsMap.get(optionKey); if (AJLINT_IGNORE.equals(v)) { lintValue = AjCompilerOptions.IGNORE; } else if (AJLINT_WARN.equals(v)) { -- 2.39.5