summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-10-09 09:22:28 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-10-09 09:23:43 +0200
commit21e4e5984a6fc43f505e6e394f51af6fcb1de544 (patch)
treeba4f26520ddcd3b17c77120b5718e31180b80759
parent32986b9e625c58ca8e5cf774d32c19eb061bcbe5 (diff)
downloadsonarqube-21e4e5984a6fc43f505e6e394f51af6fcb1de544.tar.gz
sonarqube-21e4e5984a6fc43f505e6e394f51af6fcb1de544.zip
add protected setParent method to ComponentContainer
-rw-r--r--sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
index 52ef24da32a..c415b205a83 100644
--- a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
+++ b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
@@ -75,6 +75,10 @@ public class ComponentContainer implements ContainerPopulator.Container {
addSingleton(this);
}
+ protected void setParent(ComponentContainer parent) {
+ this.parent = parent;
+ }
+
public void execute() {
boolean threw = true;
try {