On Fri, 1 Nov 2024 23:17:01 GMT, Justin Lu <j...@openjdk.org> wrote:

> Please review this PR which is a small cleanup in 
> `Currency.getAvailableCurrencies()`. We can use the `HashSet` constructor 
> over `clone()` to make the defensive copy of the set of available currencies. 
> This gets rid of the unsightly unchecked cast and SuppressWarnings annotation.

Thanks for the review.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21845#issuecomment-2481695608

Reply via email to