mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[vcs] API cleanup: mark deprecated unused API for removal (IJPL-156972)
GitOrigin-RevId: 22ba11b7d8d762be1469c0484600168730147978
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b03b560520
commit
285cdfb636
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user