From: Simon Brandhof Date: Mon, 11 Sep 2017 13:22:46 +0000 (+0200) Subject: Fix Quality flaws X-Git-Tag: 6.6-RC1~385 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=47400c9969edfc32ae4f748829804c9818e59e02;p=sonarqube.git Fix Quality flaws --- diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java b/server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java index 83b52558167..e4184a39369 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java @@ -215,10 +215,8 @@ public class IssueQueryFactory { if (componentRootUuids != null) { allComponentUuids.addAll(componentRootUuids); - effectiveOnComponentOnly = false; } else if (componentRoots != null) { allComponentUuids.addAll(convertComponentKeysToUuids(session, componentRoots)); - effectiveOnComponentOnly = false; } else if (components != null) { allComponentUuids.addAll(convertComponentKeysToUuids(session, components)); effectiveOnComponentOnly = true;