Skip to content

Commit

Permalink
upgraded kotlin version and bumped up data-anon version to 0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sunitparekh committed Sep 16, 2018
1 parent 9f008cd commit 8e0c094
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
23 changes: 8 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.dataanon</groupId>
<artifactId>data-anon</artifactId>
<version>0.9.6</version>
<version>0.9.7</version>
<packaging>jar</packaging>

<name>data-anon</name>
Expand All @@ -18,8 +18,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.2.50</kotlin.version>
<version.jacoco>0.8.1</version.jacoco>
<kotlin.version>1.2.70</kotlin.version>
<version.jacoco>0.8.2</version.jacoco>
</properties>

<scm>
Expand Down Expand Up @@ -81,7 +81,7 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>3.1.8.RELEASE</version>
<version>3.1.9.RELEASE</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -96,7 +96,7 @@
<dependency>
<groupId>io.kotlintest</groupId>
<artifactId>kotlintest-runner-junit5</artifactId>
<version>3.1.6</version>
<version>3.1.10</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -108,13 +108,13 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.2</version>
<version>42.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>0.9.7</version>
<version>0.9.17</version>
</dependency>
</dependencies>

Expand All @@ -125,14 +125,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
<version>2.22.0</version>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/github/dataanon/jdbc/TableWriter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class TableWriter(dbConfig: DbConfig, private val table: Table, private val prog

override fun hookFinally(type: SignalType?) {
progressBar?.stop()
if (stmt != null) stmt.close()
stmt?.close()
conn?.close()
}

Expand Down

0 comments on commit 8e0c094

Please sign in to comment.