IJPL-212619 vcs: mark deprecated unused API for removal

API, which was marked as deprecated in 252 or earlier and has no external and internal usages, is marked for removal.

GitOrigin-RevId: 211648a3d04e8882916f7741e5dc6b076bd94342
This commit is contained in:
Nikolay Chashnikov
2026-02-13 13:15:31 +01:00
committed by intellij-monorepo-bot
parent a06cd33567
commit 8f8a6efaec
4 changed files with 5 additions and 2 deletions

View File

@@ -511,6 +511,7 @@ suspend fun <T> Flow<Deferred<T>>.awaitCompleted(): T =
/**
* Maps values in the flow to successful results and catches and wraps any exception into a failure result.
*/
@ApiStatus.ScheduledForRemoval
@Deprecated("This doesn't work as we expected it to. `Flow.catch` doesn't actually prevent the flow from stopping")
fun <T> Flow<T>.asResultFlow(): Flow<Result<T>> =
map { Result.success(it) }.catch { emit(Result.failure(it)) }

View File

@@ -1198,7 +1198,7 @@ public abstract class DiffRequestProcessor
/**
* @deprecated only for compatibility
**/
@Deprecated
@Deprecated(forRemoval = true)
protected static abstract class DelegatingNavigationAction extends AnAction implements DumbAware {
private final @NotNull AnAction delegate;

View File

@@ -19,7 +19,7 @@ import java.util.List;
*
* @deprecated deprecated with the removal of completion from an old clone dialog
*/
@Deprecated
@Deprecated(forRemoval = true)
public interface RepositoryListLoader {
/**
* Check if this loader is configured (e.g. has necessary authentication data)

View File

@@ -3,6 +3,7 @@ package com.intellij.openapi.vcs.changes.ui
import com.intellij.openapi.vcs.changes.ui.TreeModelBuilderKeys.IS_CACHING_ROOT
import com.intellij.openapi.vfs.VirtualFile
import org.jetbrains.annotations.ApiStatus
abstract class BaseChangesGroupingPolicy : ChangesGroupingPolicy {
protected var nextPolicy: ChangesGroupingPolicy? = null
@@ -11,6 +12,7 @@ abstract class BaseChangesGroupingPolicy : ChangesGroupingPolicy {
nextPolicy = policy
}
@ApiStatus.ScheduledForRemoval
@Deprecated("Prefer using [VcsImplUtil.findValidParentAccurately]",
ReplaceWith("VcsImplUtil.findValidParentAccurately(nodePath.filePath)",
"com.intellij.vcsUtil.VcsImplUtil"))