diff --git a/src/main/java/at/ac/uibk/gitsearch/config/DatabaseConfiguration.java b/src/main/java/at/ac/uibk/gitsearch/config/DatabaseConfiguration.java index 5d670d61c3dca510597400c4b738aea66bc61aef..a8d41168fc47ac9836ecafda8416680b89e303da 100644 --- a/src/main/java/at/ac/uibk/gitsearch/config/DatabaseConfiguration.java +++ b/src/main/java/at/ac/uibk/gitsearch/config/DatabaseConfiguration.java @@ -1,9 +1,7 @@ package at.ac.uibk.gitsearch.config; import java.sql.SQLException; - import javax.annotation.PostConstruct; - import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; @@ -28,17 +26,17 @@ public class DatabaseConfiguration { private final Logger log = LoggerFactory.getLogger(DatabaseConfiguration.class); private final Environment env; - + @Value("${spring.datasource.url}") private String databseConnectionString; public DatabaseConfiguration(Environment env) { this.env = env; } - + @PostConstruct public void logDBUrl() { - log.info("Using db connection string {}", databseConnectionString); + log.info("Using db connection string {}", databseConnectionString); } /**