diff options
author | Andrey Turbanov <turbanoff@gmail.com> | 2022-04-13 12:56:23 +0300 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-04-15 10:05:50 +0700 |
commit | 047a93c24f4eef3b2ebf254be9332d4340adbd04 (patch) | |
tree | 81e90d18a700bb8c510dca7c461c5f4dcb47b696 /org.aspectj.ajdt.core | |
parent | 28396ed60f92c3a55a1981738cb90ef64cfcf0af (diff) | |
download | aspectj-047a93c24f4eef3b2ebf254be9332d4340adbd04.tar.gz aspectj-047a93c24f4eef3b2ebf254be9332d4340adbd04.zip |
Fix suspicious Map.get call
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String,String> 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)) { |