cleanup [platform]: drop unused symbols

GitOrigin-RevId: 6559a7bc8ba030afd994f6c5a713bda25b0a1896
This commit is contained in:
Ilya.Kazakevich
2026-06-11 23:36:56 +00:00
committed by intellij-monorepo-bot
parent 8a504b1a5c
commit f82dce98fe
2 changed files with 0 additions and 16 deletions
@@ -1,12 +0,0 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.execution.wsl
import com.intellij.execution.ExecutionException
internal class IpOrException private constructor(private val result: Result<String>) {
constructor(ip: String) : this(Result.success(ip))
constructor(error: ExecutionException) : this(Result.failure(error))
@Throws(ExecutionException::class)
fun getIp(): String = result.getOrThrow()
}
@@ -3,7 +3,6 @@ package com.intellij.execution.wsl
import com.intellij.concurrency.currentThreadContext
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.Service
import com.intellij.openapi.diagnostic.getOrLogException
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.progress.ProgressManager
@@ -140,9 +139,6 @@ class WslDistributionSafeNullableLazyValue<T> private constructor(private val co
@OptIn(ExperimentalCoroutinesApi::class)
private fun Deferred<T>.isCompletedExceptionally() = isCompleted && getCompletionExceptionOrNull() != null
@Service(Service.Level.APP)
private class ScopeHolder(val coroutineScope: CoroutineScope)
companion object {
private val LOG = logger<WslDistributionSafeNullableLazyValue<*>>()