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()