Skip to content
Snippets Groups Projects
Commit f7dcbabf authored by Daniel Gerhardt's avatar Daniel Gerhardt Committed by Daniel Gerhardt
Browse files

Remove unused configuration code

parent 82080c83
No related merge requests found
......@@ -172,27 +172,9 @@ public class AppConfig extends WebMvcConfigurerAdapter {
return new MappingJackson2HttpMessageConverter(builder.build());
}
// @Bean
// public PropertyPlaceholderConfigurer propertyPlaceholderConfigurer() {
// final PropertyPlaceholderConfigurer configurer = new PropertyPlaceholderConfigurer();
// configurer.setLocations(
// new ClassPathResource("arsnova.properties.example"),
// new FileSystemResource("/etc/arsnova/arsnova.properties")
// );
// configurer.setIgnoreResourceNotFound(true);
// configurer.setIgnoreUnresolvablePlaceholders(false);
//
// return configurer;
// }
@Bean
public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
final PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
// configurer.setLocations(
// new ClassPathResource("arsnova.properties.example"),
// new FileSystemResource("/etc/arsnova/arsnova.properties")
// );
// configurer.setIgnoreResourceNotFound(true);
configurer.setIgnoreUnresolvablePlaceholders(false);
return configurer;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment