Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
f7dcbabf
Commit
f7dcbabf
authored
7 years ago
by
Daniel Gerhardt
Committed by
Daniel Gerhardt
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused configuration code
parent
82080c83
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/config/AppConfig.java
+0
-18
0 additions, 18 deletions
src/main/java/de/thm/arsnova/config/AppConfig.java
with
0 additions
and
18 deletions
src/main/java/de/thm/arsnova/config/AppConfig.java
+
0
−
18
View file @
f7dcbabf
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment