]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Quality flaws
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 11 Sep 2017 13:22:46 +0000 (15:22 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 11 Sep 2017 19:03:33 +0000 (21:03 +0200)
server/sonar-server/src/main/java/org/sonar/server/issue/IssueQueryFactory.java

index 83b525581677ac6831868870e788aa729bff54b5..e4184a393693c4ef996aa7369da9136e559a4854 100644 (file)
@@ -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;