Source:
public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { if (!isRootApplicationContext(contextRefreshedEvent.getApplicationContext())) { return; } try { dependencyMaterialUpdateNotifier.initialize(); defaultPluginJarLocationMonitor.initialize(); pluginsInitializer.initialize(); pluginsZip.create(); configCipherUpdater.migrate(); configElementImplementationRegistrar.initialize(); configRepository.initialize(); goFileConfigDataSource.upgradeIfNecessary(); cachedGoConfig.loadConfigIfNull(); goConfigService.initialize(); entityHashingService.initialize(); artifactsDirHolder.initialize(); artifactsService.initialize(); consoleService.initialize(); environmentConfigService.initialize(); oauthTokenSweeper.initialize(); invalidConfigMessageRemover.initialize(); ldapContextFactory.initialize(); agentService.initialize(); pipelineLockService.initialize(); buildAssignmentService.initialize(); pipelineScheduler.initialize(); removeAdminPermissionFilter.initialize(); pipelineTimeline.updateTimelineOnInit(); pipelineSqlMapDao.initialize(); commandRepositoryInitializer.initialize(); consoleActivityMonitor.populateActivityMap(); timerScheduler.initialize(); stageResourceImporter.initialize(); goCasServiceProperties.initialize(); goDiskSpaceMonitor.initialize(); backupService.initialize(); railsAssetsService.initialize(); ccTrayActivityListener.initialize(); ServletHelper.init(); Toggles.initializeWith(featureToggleService); serverVersionInfoManager.initialize(); scmMaterialSource.initialize(); } catch (Throwable throwable) { throw new RuntimeException(throwable); } }

Target:
public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { if (!isRootApplicationContext(contextRefreshedEvent.getApplicationContext())) { return; } try { defaultPluginJarLocationMonitor.initialize(); pluginsInitializer.initialize(); pluginsZip.create(); configCipherUpdater.migrate(); configElementImplementationRegistrar.initialize(); configRepository.initialize(); goFileConfigDataSource.upgradeIfNecessary(); cachedGoConfig.loadConfigIfNull(); goConfigService.initialize(); entityHashingService.initialize(); artifactsDirHolder.initialize(); artifactsService.initialize(); consoleService.initialize(); environmentConfigService.initialize(); oauthTokenSweeper.initialize(); invalidConfigMessageRemover.initialize(); ldapContextFactory.initialize(); agentService.initialize(); pipelineLockService.initialize(); buildAssignmentService.initialize(); materialUpdateService.initialize(); pipelineScheduler.initialize(); removeAdminPermissionFilter.initialize(); pipelineTimeline.updateTimelineOnInit(); pipelineSqlMapDao.initialize(); commandRepositoryInitializer.initialize(); consoleActivityMonitor.populateActivityMap(); timerScheduler.initialize(); stageResourceImporter.initialize(); goCasServiceProperties.initialize(); goDiskSpaceMonitor.initialize(); backupService.initialize(); railsAssetsService.initialize(); ccTrayActivityListener.initialize(); ServletHelper.init(); Toggles.initializeWith(featureToggleService); serverVersionInfoManager.initialize(); dependencyMaterialUpdateNotifier.initialize(); scmMaterialSource.initialize(); } catch (Throwable throwable) { throw new RuntimeException(throwable); } }