aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-05-26 17:33:46 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-06-01 17:08:28 +0200
commitdeefc7706f2e8557280f7ef1854c6c271684f72b (patch)
tree5fb21b9963e5a172f638e65c72e0d30b0e3e3a63
parent71aa31687b92b01207931c075613b6608abdb120 (diff)
downloadsonarqube-deefc7706f2e8557280f7ef1854c6c271684f72b.tar.gz
sonarqube-deefc7706f2e8557280f7ef1854c6c271684f72b.zip
ServerLifecycleNotifier really belongs to startup level
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java2
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index d374fe6102f..7e0ace0d843 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -178,7 +178,6 @@ import org.sonar.server.permission.InternalPermissionTemplateService;
import org.sonar.server.permission.PermissionFinder;
import org.sonar.server.permission.ws.PermissionsWs;
import org.sonar.server.platform.BackendCleanup;
-import org.sonar.server.platform.ServerLifecycleNotifier;
import org.sonar.server.platform.SettingsChangeNotifier;
import org.sonar.server.platform.monitoring.DatabaseMonitor;
import org.sonar.server.platform.monitoring.EsMonitor;
@@ -493,7 +492,6 @@ public class PlatformLevel4 extends PlatformLevel {
MyFavouritesFilter.class,
CoreCustomMetrics.class,
DefaultMetricFinder.class,
- ServerLifecycleNotifier.class,
TimeMachineWs.class,
ManualMeasuresWs.class,
MetricsWs.class,
diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
index 9629f23d03f..b4166e004e5 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
@@ -67,7 +67,8 @@ public class PlatformLevelStartup extends PlatformLevel {
CopyRequirementsFromCharacteristicsToRules.class,
ReportQueueCleaner.class,
RegisterIssueFilters.class,
- RenameIssueWidgets.class);
+ RenameIssueWidgets.class,
+ ServerLifecycleNotifier.class);
}
@Override