Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31823] author changed and code style issue solved
  • Loading branch information
escoem committed Dec 2, 2015
1 parent b787be8 commit 4f3224b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/java/jenkins/plugins/asynchttpclient/AHCUtils.java
Expand Up @@ -23,7 +23,7 @@
* Utility methods for dealing with {@link com.ning.http.client.AsyncHttpClient} from a Jenkins plugin.
*
* @author Stephen Connolly
* @author Cloudbees, Inc.
* @author Emilio Escobar
*/
public final class AHCUtils {

Expand All @@ -47,8 +47,9 @@ public static ProxyServer getProxyServer() {

if (proxy.noProxyHost != null) {
for (String s : proxy.noProxyHost.split("[ \t\n,|]+")) {
if (s.length()==0) continue;
proxyServer.addNonProxyHost(s);
if (s.length()>0) {
proxyServer.addNonProxyHost(s);
}
}
}
} else {
Expand Down

0 comments on commit 4f3224b

Please sign in to comment.