Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
- Zap unused commented code which
  were left behind.
- Relates to #8
  • Loading branch information
jvalkeal committed Jun 3, 2016
1 parent 78bd1b8 commit 25390d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
Expand Up @@ -487,17 +487,6 @@ public TaskExecutor appDeployerTaskExecutor() {
return executor;
}

// @Bean
// public AppDeployerStateMachineDeprecated appDeployerStateMachine(YarnCloudAppService yarnCloudAppService,
// TaskExecutor appDeployer, BeanFactory beanFactory) throws Exception {
// return new AppDeployerStateMachineDeprecated(yarnCloudAppService, appDeployer, beanFactory);
// }
//
// @Bean
// public AppDeployer appDeployer(YarnCloudAppService yarnCloudAppService,
// AppDeployerStateMachineDeprecated appDeployerStateMachine) throws Exception {
// return new YarnAppDeployer(yarnCloudAppService, appDeployerStateMachine.buildStateMachine());
// }
@Bean
public AppDeployerStateMachine appDeployerStateMachine(YarnCloudAppService yarnCloudAppService,
TaskExecutor appDeployer, BeanFactory beanFactory, ApplicationContext applicationContext) throws Exception {
Expand Down
Expand Up @@ -294,18 +294,6 @@ public TaskExecutor yarnTaskLauncherTaskExecutor() {
return executor;
}

// @Bean
// public TaskLauncherStateMachineDeprecated taskLauncherStateMachine(YarnCloudAppService yarnCloudAppService,
// TaskExecutor yarnTaskLauncherTaskExecutor, BeanFactory beanFactory) throws Exception {
// return new TaskLauncherStateMachineDeprecated(yarnCloudAppService, yarnTaskLauncherTaskExecutor, beanFactory);
// }
//
// @Bean
// public TaskLauncher taskLauncher(YarnCloudAppService yarnCloudAppService,
// TaskLauncherStateMachineDeprecated taskLauncherStateMachine) throws Exception {
// return new YarnTaskLauncher(yarnCloudAppService, taskLauncherStateMachine.buildStateMachine());
// }

@Bean
public TaskLauncherStateMachine taskLauncherStateMachine(YarnCloudAppService yarnCloudAppService,
TaskExecutor yarnTaskLauncherTaskExecutor, BeanFactory beanFactory, ApplicationContext applicationContext) throws Exception {
Expand Down

0 comments on commit 25390d3

Please sign in to comment.