Skip to content

Commit

Permalink
bumped up version to 0.9.5 for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
sunitparekh committed Apr 17, 2018
1 parent 9ed1efd commit 6cabd9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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.4</version>
<version>0.9.5</version>
<packaging>jar</packaging>

<name>data-anon</name>
Expand Down Expand Up @@ -82,7 +82,7 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>3.1.5.RELEASE</version>
<version>3.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -92,7 +92,7 @@
<dependency>
<groupId>me.tongfei</groupId>
<artifactId>progressbar</artifactId>
<version>0.5.5</version>
<version>0.6.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -115,7 +115,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.1</version>
<version>42.2.2</version>
<scope>test</scope>
</dependency>
<dependency>
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 @@ -89,7 +89,7 @@ class TableWriter(dbConfig: DbConfig, private val table: Table, private val prog
}
if (errorCount > table.allowedErrors) {
logger.severe { "Total number of errors occurred is $errorCount for table ${table.name} exceeds allowed ${table.allowedErrors} ." }
throw Exception("Too many errors while processing table ${table.name} exceeds ${table.allowedErrors} hence terminating table processing.")
throw Exception("Too many errors while processing table ${table.name}. Exceeds ${table.allowedErrors} errors hence terminating table processing.")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class SpecialFeaturesIntegrationTest : FunSpec() {
errors[2].message should haveSubstring("Value too long for column \"GENRE VARCHAR2(10)\"")
errors[3].message should haveSubstring("Value too long for column \"GENRE VARCHAR2(10)\"")
errors[4].message should haveSubstring("Total number of errors occurred is 4 for table MOVIES exceeds allowed 3")
errors[5].message should haveSubstring("Too many errors while processing table MOVIES exceeds 3 hence terminating table processing")
errors[5].message should haveSubstring("Too many errors while processing table MOVIES. Exceeds 3 errors hence terminating table processing.")

destTable.close()
sourceTable.close()
Expand Down

0 comments on commit 6cabd9a

Please sign in to comment.