mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #3921 from HirotoTanaka114/master
Re-ordering Stream APIs
This commit is contained in:
commit
cad09aabfd
@ -78,8 +78,8 @@ public class CurrencyUtil {
|
||||
private static Map<String, FiatCurrency> createFiatCurrencyMap() {
|
||||
return CountryUtil.getAllCountries().stream()
|
||||
.map(country -> getCurrencyByCountryCode(country.code))
|
||||
.distinct()
|
||||
.sorted(TradeCurrency::compareTo)
|
||||
.distinct()
|
||||
.collect(Collectors.toMap(TradeCurrency::getCode, Function.identity(), (x, y) -> x, LinkedHashMap::new));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user