diff --git a/core/src/main/groovy/com/jdbernard/wdiwtlt/ConfigWrapper.groovy b/core/src/main/groovy/com/jdbernard/wdiwtlt/ConfigWrapper.groovy index dac8917..1059f6f 100644 --- a/core/src/main/groovy/com/jdbernard/wdiwtlt/ConfigWrapper.groovy +++ b/core/src/main/groovy/com/jdbernard/wdiwtlt/ConfigWrapper.groovy @@ -36,7 +36,7 @@ public class ConfigWrapper { return null } - public String getHikariConfig() { + public HikariConfig getHikariConfig() { Properties props = new Properties() // 1. Check config properties for database config file @@ -71,7 +71,7 @@ public class ConfigWrapper { private boolean tryLoadConfigFile(File configFile) { if (!configFile.exists() || !configFile.isFile()) return false - return configFile.withInputStream { tryLoadConfig(is) } } + return configFile.withInputStream { tryLoadConfig(it) } } private boolean tryLoadConfig(InputStream is) { try {