Skip to content

Commit

Permalink
used @jvmoverloads to allow defaults for the method parameter from Java
Browse files Browse the repository at this point in the history
  • Loading branch information
sunitparekh committed Mar 18, 2018
1 parent 2734f5b commit 167ea20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class Anonymizer {
table.anonymize("RATING").using(new FixedDouble(4.3));
return Unit.INSTANCE;
})
.execute(true);
.execute();
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion 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.3</version>
<version>0.9.4</version>
<packaging>jar</packaging>

<name>data-anon</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/com/github/dataanon/dsl/Strategy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ abstract class Strategy {
private val logger = Logger.getLogger(Strategy::class.java.name)
protected val tables = mutableListOf<Table>()

@JvmOverloads
fun execute(progressBarEnabled: Boolean = true) {
val inputStream = Strategy::class.java.classLoader.getResourceAsStream("logging.properties")
LogManager.getLogManager().readConfiguration(inputStream)
Expand Down

0 comments on commit 167ea20

Please sign in to comment.