Convert 'for' loops to enhanced 'for' loops.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-01-14 14:47:21 +00:00
parent 9debe112db
commit a7caa74b1e
1 changed files with 4 additions and 4 deletions

View File

@ -112,8 +112,8 @@ public class SSLContextBuilder {
}
}
}
for (int i = 0; i < tms.length; i++) {
this.trustmanagers.add(tms[i]);
for (TrustManager tm : tms) {
this.trustmanagers.add(tm);
}
}
return this;
@ -151,8 +151,8 @@ public class SSLContextBuilder {
}
}
}
for (int i = 0; i < kms.length; i++) {
keymanagers.add(kms[i]);
for (KeyManager km : kms) {
keymanagers.add(km);
}
}
return this;