mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup [platform]: drop unused symbols
GitOrigin-RevId: 6559a7bc8ba030afd994f6c5a713bda25b0a1896
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a504b1a5c
commit
f82dce98fe
@@ -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()
|
||||
}
|
||||
-4
@@ -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<*>>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user