mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8343237: Improve the copying of the available set of Currencies
Reviewed-by: bpb
This commit is contained in:
parent
41a627b789
commit
e1c4b4977e
1 changed files with 1 additions and 4 deletions
|
@ -486,10 +486,7 @@ public final class Currency implements Serializable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return new HashSet<>(available);
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
Set<Currency> result = (Set<Currency>) available.clone();
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue