mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Java 5: skip (un)boxing
This commit is contained in:
1 parent
64ab6e48b5
commit
47daeb4cc1
2 files changed
+4
-4
No files matched your search
@@ -395,7 +395,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
|
||||
GetMethod method = null;
|
||||
try {
|
||||
method = new GetMethod(testUrl);
|
||||
method.getParams().setParameter("http.socket.timeout", DEFAULT_CONNECT_TIMEOUT_MILLIS > 0 ? DEFAULT_CONNECT_TIMEOUT_MILLIS : new Integer(30 * 1000));
|
||||
method.getParams().setParameter("http.socket.timeout", DEFAULT_CONNECT_TIMEOUT_MILLIS > 0 ? DEFAULT_CONNECT_TIMEOUT_MILLIS : 30 * 1000);
|
||||
|
||||
HttpClient client = new HttpClient();
|
||||
if (Util.fixEmptyAndTrim(name) != null && !isNoProxyHost(host, noProxyHost)) {
|
||||
|
||||
Reference in new issue
Block a user