int (@NotNull Url url) { String protocol = url.getProtocol(); if (SVN_SSH.equals(protocol)) { return (int)SvnConfiguration.getInstance(myProject).getSshConnectionTimeout(); } return HTTP.equals(protocol) || HTTPS.equals(protocol) ? DEFAULT_CONNECT_TIMEOUT : 0; }