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
1 changed files with 2 additions and 2 deletions

View File

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