From ef481f12ca82317566c644efc4640eeb7a27d056 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Wed, 5 Aug 2020 10:08:57 -0500 Subject: [PATCH] Remove useless comment --- src/main/kotlin/mdnet/base/MangaDexClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/MangaDexClient.kt b/src/main/kotlin/mdnet/base/MangaDexClient.kt index 87dbf46..9a8f93f 100644 --- a/src/main/kotlin/mdnet/base/MangaDexClient.kt +++ b/src/main/kotlin/mdnet/base/MangaDexClient.kt @@ -62,7 +62,7 @@ object Shutdown : State() data class GracefulShutdown(val lastRunning: Running, val counts: Int = 0, val nextState: State = Uninitialized(lastRunning.clientSettings), val action: () -> Unit = {}) : State() // server is currently running data class Running(val server: Http4kServer, val settings: ServerSettings, val clientSettings: ClientSettings) : State() -// clientSettings must only be accessed from the thread on the executorService + class MangaDexClient(private val clientSettingsFile: String) { // this must remain singlethreaded because of how the state mechanism works private val executorService = Executors.newSingleThreadScheduledExecutor()