diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2018-11-16 15:19:14 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:43:02 +0100 |
commit | b6f878d8d48c55c03bcbf2ba8010526f1fa12f49 (patch) | |
tree | 01f2d3038a65ea2d7f79978d17a77f4d33f69522 /sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java | |
parent | 6a598e7d7973171e04d78483085ede97a4e21dcb (diff) | |
download | sonarqube-b6f878d8d48c55c03bcbf2ba8010526f1fa12f49.tar.gz sonarqube-b6f878d8d48c55c03bcbf2ba8010526f1fa12f49.zip |
SONAR-11459 Stop publishing modules and folders in the scanner report
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java index 60baccdfa5a..4b85e732f66 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ModuleIndexer.java @@ -30,12 +30,10 @@ import org.sonar.scanner.scan.filesystem.InputComponentStore; * project definitions provided by the {@link ImmutableProjectReactor}. */ public class ModuleIndexer implements Startable { - private final DefaultComponentTree componentTree; private final InputModuleHierarchy moduleHierarchy; private final InputComponentStore componentStore; - public ModuleIndexer(DefaultComponentTree componentTree, InputComponentStore componentStore, InputModuleHierarchy moduleHierarchy) { - this.componentTree = componentTree; + public ModuleIndexer(InputComponentStore componentStore, InputModuleHierarchy moduleHierarchy) { this.componentStore = componentStore; this.moduleHierarchy = moduleHierarchy; } @@ -49,7 +47,6 @@ public class ModuleIndexer implements Startable { private void indexChildren(DefaultInputModule parent) { for (DefaultInputModule module : moduleHierarchy.children(parent)) { - componentTree.index(module, parent); componentStore.put(module); indexChildren(module); } |