]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 20 Sep 2017 08:50:48 +0000 (10:50 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 20 Sep 2017 08:50:48 +0000 (10:50 +0200)
server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java

index 579a53bd147d9a8e2b13ddf0a22c380642cb18f8..63974471ac085665544e285b88f24eba1d25159d 100644 (file)
@@ -209,10 +209,8 @@ public class IssueQueryFactory {
 
     if (componentRootUuids != null) {
       allComponents.addAll(getComponentsFromUuids(session, componentRootUuids));
-      effectiveOnComponentOnly = false;
     } else if (componentRoots != null) {
       allComponents.addAll(getComponentsFromKeys(session, componentRoots, branch));
-      effectiveOnComponentOnly = false;
     } else if (components != null) {
       allComponents.addAll(getComponentsFromKeys(session, components, branch));
       effectiveOnComponentOnly = true;