SVN: IDEA wide proxy host/port - take from settings

This commit is contained in:
irengrig
2009-11-26 14:49:55 +03:00
parent ebc4a57a2a
commit c935699ee9
@@ -103,8 +103,9 @@ public class SvnAuthenticationManager extends DefaultSVNAuthenticationManager {
if ((proxyHost == null) || "".equals(proxyHost.trim())) {
if (SvnConfiguration.getInstanceChecked(myProject).isIsUseDefaultProxy()) {
// ! use common proxy if it is set
final String ideaWideProxyHost = System.getProperty("http.proxyHost");
String ideaWideProxyPort = System.getProperty("http.proxyPort");
final HttpConfigurable httpConfigurable = HttpConfigurable.getInstance();
final String ideaWideProxyHost = httpConfigurable.PROXY_HOST;
String ideaWideProxyPort = String.valueOf(httpConfigurable.PROXY_PORT);
if (ideaWideProxyPort == null) {
ideaWideProxyPort = "3128";