[vcs] API cleanup: mark deprecated unused API for removal (IJPL-156972)

GitOrigin-RevId: 22ba11b7d8d762be1469c0484600168730147978
This commit is contained in:
Nikolay Chashnikov
2024-10-10 20:47:42 +02:00
committed by intellij-monorepo-bot
parent b03b560520
commit 285cdfb636
4 changed files with 5 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import com.intellij.openapi.options.advanced.AdvancedSettings.Companion.getBoole
import com.intellij.openapi.util.registry.Registry
import com.intellij.openapi.vcs.FilePath
import com.intellij.openapi.vcs.VcsKey
import org.jetbrains.annotations.ApiStatus
import java.io.Serializable
class VcsHistoryCache {
@@ -29,6 +30,7 @@ class VcsHistoryCache {
historyCache.put(HistoryCacheBaseKey(filePath, vcsKey), cachedHistory)
}
@ApiStatus.ScheduledForRemoval
@Deprecated(message = "Use putSession instead",
replaceWith = ReplaceWith("putSession(filePath, correctedPath, vcsKey, session, factory, isFull)"))
fun <C : Serializable, T : VcsAbstractHistorySession> put(filePath: FilePath, correctedPath: FilePath?, vcsKey: VcsKey, session: T,

View File

@@ -12,7 +12,7 @@ public interface ChangesViewEx extends ChangesViewI {
/**
* @deprecated Changes no longer could be refreshed immediately, use {@link #promiseRefresh()} or {@link #scheduleRefresh()}
*/
@Deprecated
@Deprecated(forRemoval = true)
void refreshImmediately();
/**

View File

@@ -424,7 +424,7 @@ public class TreeModelBuilder implements ChangesViewModelBuilder {
/**
* @deprecated Kept for binary compatibility
*/
@Deprecated
@Deprecated(forRemoval = true)
public void insertChangeNode(@NotNull Object nodePath,
@NotNull ChangesBrowserNode<?> subtreeRoot,
@NotNull ChangesBrowserNode<?> node) {

View File

@@ -140,7 +140,7 @@ public final class GraphTableModel extends AbstractTableModel implements VcsLogC
* @deprecated get cached commit details by commit id ({@link VcsLogCommitListModel#getId(int)})
* from {@link VcsLogDataProvider#getFullCommitDetailsCache()}.
*/
@Deprecated
@Deprecated(forRemoval = true)
public @NotNull VcsFullCommitDetails getFullDetails(int row) {
return myLogData.getCommitDetailsGetter().getCachedDataOrPlaceholder(getId(row));
}