summaryrefslogtreecommitdiff
path: root/plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java')
-rw-r--r--plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java b/plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java
index 340100dcb3a6..a3afaf9a5c0c 100644
--- a/plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java
+++ b/plugins/svn4idea/src/org/jetbrains/idea/svn/commandLine/ProxyCallback.java
@@ -20,6 +20,7 @@ import com.intellij.openapi.util.Condition;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.idea.svn.auth.AuthenticationService;
import org.tmatesoft.svn.core.SVNURL;
import java.net.PasswordAuthentication;
@@ -36,8 +37,8 @@ public class ProxyCallback extends AuthCallbackCase {
private PasswordAuthentication myProxyAuthentication;
- ProxyCallback(@NotNull AuthenticationCallback callback, SVNURL url) {
- super(callback, url);
+ ProxyCallback(@NotNull AuthenticationService authenticationService, SVNURL url) {
+ super(authenticationService, url);
}
@Override
@@ -61,8 +62,8 @@ public class ProxyCallback extends AuthCallbackCase {
result = true;
// explicit check if proxies are configured in IDEA is used here not to perform "proxy authentication" for proxies manually
// specified by users in svn "servers" file
- } else if (myAuthenticationCallback.haveDataForTmpConfig()) {
- myProxyAuthentication = myAuthenticationCallback.getProxyAuthentication(myUrl);
+ } else if (myAuthenticationService.haveDataForTmpConfig()) {
+ myProxyAuthentication = myAuthenticationService.getProxyAuthentication(myUrl);
result = myProxyAuthentication != null;
}