Merge pull request #7203 from juanvaccari/BAEL-2928

BAEL-2928 - change methods name to follow Java conventions
This commit is contained in:
Erik Pragt
2019-06-28 21:55:18 +02:00
committed by GitHub

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");
}
}