This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit c00dde7c authored by Michael Breu's avatar Michael Breu
Browse files

mimimalistic change by prettier:format

parent 28b75183
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
package at.ac.uibk.gitsearch.config; package at.ac.uibk.gitsearch.config;
import java.sql.SQLException; import java.sql.SQLException;
import javax.annotation.PostConstruct; import javax.annotation.PostConstruct;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -28,17 +26,17 @@ public class DatabaseConfiguration { ...@@ -28,17 +26,17 @@ public class DatabaseConfiguration {
private final Logger log = LoggerFactory.getLogger(DatabaseConfiguration.class); private final Logger log = LoggerFactory.getLogger(DatabaseConfiguration.class);
private final Environment env; private final Environment env;
@Value("${spring.datasource.url}") @Value("${spring.datasource.url}")
private String databseConnectionString; private String databseConnectionString;
public DatabaseConfiguration(Environment env) { public DatabaseConfiguration(Environment env) {
this.env = env; this.env = env;
} }
@PostConstruct @PostConstruct
public void logDBUrl() { public void logDBUrl() {
log.info("Using db connection string {}", databseConnectionString); log.info("Using db connection string {}", databseConnectionString);
} }
/** /**
......
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