Skip to content

Commit

Permalink
BAEL-2928 - change methods name to follow Java conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Vaccari committed Jun 27, 2019
1 parent 90d71bb commit 649c651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spring-all/src/main/java/org/baeldung/primary/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
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");
}
}

0 comments on commit 649c651

Please sign in to comment.