BAEL-2928 - change methods name to follow Java conventions

This commit is contained in:
Juan Vaccari 2019-06-27 17:39:11 +01:00
parent 90d71bb07e
commit 649c65199f

View File

@ -10,13 +10,13 @@ import org.springframework.context.annotation.Primary;
public class Config { public class Config {
@Bean @Bean
public Employee JohnEmployee(){ public Employee johnEmployee(){
return new Employee("John"); return new Employee("John");
} }
@Bean @Bean
@Primary @Primary
public Employee TonyEmployee(){ public Employee tonyEmployee(){
return new Employee("Tony"); return new Employee("Tony");
} }
} }