1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Fix warning.

This commit is contained in:
Cedric Beust 2015-10-22 20:03:07 -07:00
parent 39cf9f91eb
commit 79fc7c4f70

View file

@ -346,7 +346,7 @@ open class Zip(open var name: String? = null) {
val includedFiles = arrayListOf<IncludedFile>() val includedFiles = arrayListOf<IncludedFile>()
} }
private open class Direction(open val p: String) { open class Direction(open val p: String) {
override public fun toString() = path override public fun toString() = path
public val path: String get() = if (p.isEmpty() or p.endsWith("/")) p else p + "/" public val path: String get() = if (p.isEmpty() or p.endsWith("/")) p else p + "/"
} }