[git] API cleanup: remove unused deprecated API (IDEA-312594)

GitOrigin-RevId: 0a20d43388e15520e7680ad2e1cd3887dfff0c3d
This commit is contained in:
Nikolay Chashnikov
2023-05-12 16:32:16 +02:00
committed by intellij-monorepo-bot
parent 0a1c94f802
commit feff04136f
4 changed files with 0 additions and 46 deletions

View File

@@ -1,12 +0,0 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package icons;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
@Deprecated(forRemoval = true)
public final class Git4ideaIcons {
public static final Icon Star = AllIcons.Nodes.Favorite;
}

View File

@@ -521,21 +521,6 @@ public abstract class GitHandler {
@Deprecated
private final List<VcsException> myErrors = Collections.synchronizedList(new ArrayList<>());
/**
* Adds "--progress" parameter. Usable for long operations, such as clone or fetch.
*
* @return is "--progress" parameter supported by this version of Git.
* @deprecated use {@link #addParameters}
*/
@Deprecated(forRemoval = true)
public boolean addProgressParameter() {
if (myProject != null && GitVersionSpecialty.ABLE_TO_USE_PROGRESS_IN_REMOTE_COMMANDS.existsIn(myProject)) {
addParameters("--progress");
return true;
}
return false;
}
/**
* @return exit code for process if it is available
* @deprecated use {@link GitLineHandler}, {@link Git#runCommand(GitLineHandler)} and {@link GitCommandResult}

View File

@@ -98,16 +98,6 @@ public class GitLineHandler extends GitTextHandler {
myIgnoreAuthenticationRequest = authenticationMode;
}
/** @deprecated Please use overload {@link #setIgnoreAuthenticationMode(AuthenticationMode)}*/
@Deprecated(forRemoval = true)
public void setIgnoreAuthenticationMode(@NotNull GitAuthenticationMode authenticationMode) {
myIgnoreAuthenticationRequest = switch (authenticationMode) {
case NONE -> AuthenticationMode.NONE;
case SILENT -> AuthenticationMode.SILENT;
case FULL -> AuthenticationMode.FULL;
};
}
@Nullable
public AuthenticationGate getAuthenticationGate() {
return myAuthenticationGate;

View File

@@ -49,15 +49,6 @@ public enum UpdateMethod {
myPresentation = presentation;
}
/**
* @deprecated use {@link #getMethodName()} to avoid confusion with built-in {@link #name()}.
*/
@NotNull
@Deprecated(forRemoval = true)
public String getName() {
return getMethodName();
}
@NotNull
public @Nls String getMethodName() {
return GitBundle.message(myName);