mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8274237: Replace 'for' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, weijun
This commit is contained in:
parent
0c050be64b
commit
baafa6059e
4 changed files with 18 additions and 32 deletions
|
@ -622,8 +622,7 @@ public final class Security {
|
|||
|
||||
// For each selection criterion, remove providers
|
||||
// which don't satisfy the criterion from the candidate set.
|
||||
for (Iterator<String> ite = keySet.iterator(); ite.hasNext(); ) {
|
||||
String key = ite.next();
|
||||
for (String key : keySet) {
|
||||
String value = filter.get(key);
|
||||
|
||||
LinkedHashSet<Provider> newCandidates = getAllQualifyingCandidates(key, value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue