You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CurrencyQuery allows to specify several criteria eg. currency codes and countries eg. "USD" and "es_EC"
However javax.money.spi.CurrencyProviderSpi#getCurrencies(CurrencyQuery) does not specify what happens when multiple criteria are set. JDKCurrencyProvider currently behaves like this:
If a currency code is specified search by currency code, otherwise
If a country is specified search by country, otherwise
If a numeric code is specified search by numeric code, otherwise
return everything
The text was updated successfully, but these errors were encountered:
marschall
changed the title
CurrencyQuery should specify criteria are ORed
CurrencyQuery should specify first criteria wins
Jul 19, 2019
marschall
changed the title
CurrencyQuery should specify first criteria wins
CurrencyProviderSpi.getCurrencies
Jul 19, 2019
marschall
changed the title
CurrencyProviderSpi.getCurrencies
CurrencyProviderSpi.getCurrencies should specify first criteria wins
Jul 19, 2019
CurrencyQuery allows to specify several criteria eg. currency codes and countries eg.
"USD"
and"es_EC"
However
javax.money.spi.CurrencyProviderSpi#getCurrencies(CurrencyQuery)
does not specify what happens when multiple criteria are set.JDKCurrencyProvider
currently behaves like this:The text was updated successfully, but these errors were encountered: