Skip to content

Commit 2bec33d

Browse files
committed
Fix linter
1 parent f6a7ffa commit 2bec33d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/FeatureNotificationService.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import io.modelcontextprotocol.kotlin.sdk.types.ResourceListChangedNotification
77
import io.modelcontextprotocol.kotlin.sdk.types.ResourceUpdatedNotification
88
import io.modelcontextprotocol.kotlin.sdk.types.ResourceUpdatedNotificationParams
99
import io.modelcontextprotocol.kotlin.sdk.types.ToolListChangedNotification
10-
import kotlin.time.Clock
11-
import kotlin.time.ExperimentalTime
1210
import kotlinx.atomicfu.atomic
1311
import kotlinx.atomicfu.getAndUpdate
1412
import kotlinx.collections.immutable.persistentMapOf
@@ -25,6 +23,8 @@ import kotlinx.coroutines.flow.SharedFlow
2523
import kotlinx.coroutines.flow.takeWhile
2624
import kotlinx.coroutines.joinAll
2725
import kotlinx.coroutines.launch
26+
import kotlin.time.Clock
27+
import kotlin.time.ExperimentalTime
2828

2929
/** Represents an event for notification service. */
3030
private sealed class Event
@@ -386,7 +386,6 @@ internal class FeatureNotificationService(
386386

387387
// Making sure all session notification jobs are completed (after receiving end event)
388388
sessionNotificationJobs.value.values.forEach { it.join() }
389-
390389
// Cancelling notification scope to stop processing further events
391390
notificationScope.cancel()
392391
}

0 commit comments

Comments
 (0)