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++) {
|
for (TrustManager tm : tms) {
|
||||||
this.trustmanagers.add(tms[i]);
|
this.trustmanagers.add(tm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
@ -151,8 +151,8 @@ public class SSLContextBuilder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int i = 0; i < kms.length; i++) {
|
for (KeyManager km : kms) {
|
||||||
keymanagers.add(kms[i]);
|
keymanagers.add(km);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue