From 3cf401f3a15fe07c6e5f0787df948e3f7fdbe987 Mon Sep 17 00:00:00 2001 From: Seil0 Date: Mon, 17 Jun 2019 22:40:52 +0200 Subject: [PATCH] don't use semicolon in kotlin --- .../org/hso/texturesyncclient/controller/net/Connection.kt | 2 +- .../texturesyncclient/view/importView/ImportViewController.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt index 6e7e991..f3faba5 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt @@ -68,7 +68,7 @@ class Connection(val address: InetAddress, val port: Int = 10796) : Closeable { is ErrorPackage -> throw ConnectionErrorException(pkg) else -> throw RuntimeException("Unreachable") } - }; + } } @Throws(IOException::class, ConnectionException::class) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/view/importView/ImportViewController.kt b/client/src/main/kotlin/org/hso/texturesyncclient/view/importView/ImportViewController.kt index 6c5a23e..0425aec 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/view/importView/ImportViewController.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/view/importView/ImportViewController.kt @@ -62,7 +62,7 @@ class ImportViewController : Controller() { reset() } - fun reset() { + private fun reset() { iv.tfFilePath.clear() iv.tfName.clear() iv.cvTags.chips.clear()