Skip to content

Commit 9f90d05

Browse files
author
eugenp
committed
- Spring small fix originating from a blog comment
1 parent 362e89c commit 9f90d05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/org/rest/spring/root/ApplicationConfig.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ApplicationConfig{
1515
// API
1616

1717
@Bean
18-
public PropertyPlaceholderConfigurer properties(){
18+
public static PropertyPlaceholderConfigurer properties(){
1919
final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
2020
final Resource[] resources = new ClassPathResource[ ] { new ClassPathResource( "persistence.properties" ), new ClassPathResource( "restfull.properties" ) };
2121
ppc.setLocations( resources );

0 commit comments

Comments
 (0)