Skip to content

Commit

Permalink
upgraded jacoco to version 0.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sunitparekh committed Nov 8, 2017
1 parent c401a03 commit 813f935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.1.51</kotlin.version>
<kotlin.test.version>2.0.5</kotlin.test.version>
<version.jacoco>0.7.6.201602180812</version.jacoco>
<version.jacoco>0.7.9</version.jacoco>
</properties>


Expand Down
3 changes: 2 additions & 1 deletion src/main/kotlin/com/github/dataanon/dsl/Strategy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ abstract class Strategy {
fun execute(limit: Long = -1, progressBarEnabled: Boolean = true) {
tables.forEach { table ->
val reader = TableReader(sourceDbConfig(), table, limit)
val writer = TableWriter(destDbConfig(), table, ProgressBarGenerator(progressBarEnabled, table.name, { reader.totalNoOfRecords() }))
val progressBar = ProgressBarGenerator(progressBarEnabled, table.name, { reader.totalNoOfRecords() })
val writer = TableWriter(destDbConfig(), table, progressBar)

Flux.fromIterable(Iterable { reader })
.map { table.execute(it) }
Expand Down

0 comments on commit 813f935

Please sign in to comment.