Skip to content

Commit

Permalink
Replace arrayOf with array literals in Kotlin sample
Browse files Browse the repository at this point in the history
  • Loading branch information
gildor authored and mkarg committed Dec 17, 2023
1 parent a73c132 commit c266433
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1107,10 +1107,10 @@ class Args {
@Parameter
var targets: List<String> = arrayListOf()
@Parameter(names = arrayOf("-bf", "--buildFile"), description = "The build file")
@Parameter(names = ["-bf", "--buildFile"], description = "The build file")
var buildFile: String? = null
@Parameter(names = arrayOf("--checkVersions"),
@Parameter(names = ["--checkVersions"],
description = "Check if there are any newer versions of the dependencies")
var checkVersions = false
}
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2081,10 +2081,10 @@ <h3 id="_kotlin">24.1. Kotlin</h3>
@Parameter
var targets: List&lt;String&gt; = arrayListOf()

@Parameter(names = arrayOf("-bf", "--buildFile"), description = "The build file")
@Parameter(names = ["-bf", "--buildFile"], description = "The build file")
var buildFile: String? = null

@Parameter(names = arrayOf("--checkVersions"),
@Parameter(names = ["--checkVersions"],
description = "Check if there are any newer versions of the dependencies")
var checkVersions = false
}</code></pre>
Expand Down

0 comments on commit c266433

Please sign in to comment.