Merge pull request #7203 from juanvaccari/BAEL-2928
BAEL-2928 - change methods name to follow Java conventions
This commit is contained in:
commit
ac0bb0f9bd
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue