Skip to content

Commit

Permalink
Close #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Arik Dasen committed Dec 30, 2020
1 parent fe01a15 commit 00b5411
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The eclipse microprofile config framework is a simple yet powerful configuration
<dependency>
<groupId>ch.carve</groupId>
<artifactId>mp-config-db</artifactId>
<version>0.6</version>
<version>0.7</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ch.carve</groupId>
<artifactId>mp-config-db</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>
<name>mp-config-db</name>
<description>ConfigurationSource for eclipse microprofile config based on a database</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public synchronized String getConfigValue(String key) throws SQLException {

private DataSource getDatasource(String jndi) {
try {
return (DataSource) InitialContext.doLookup(jndi);
return InitialContext.doLookup(jndi);
} catch (NamingException e) {
log.warn("Could not get datasource: " + e.getMessage());
return null;
Expand Down

0 comments on commit 00b5411

Please sign in to comment.