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
commit ac0bb0f9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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