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:
parent
9debe112db
commit
a7caa74b1e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue