Skip to content

Commit

Permalink
ExchangeRateProvider: Don't create List and throw it away
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Sep 6, 2023
1 parent 72082ea commit 4c3e235
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/bisq/price/spot/ExchangeRateProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ public Collection<CurrencyPair> getCurrencyPairs() {
List<Ticker> finalTickersRetrievedFromExchange = tickersRetrievedFromExchange;
Stream.of(desiredFiatPairs, desiredCryptoPairs)
.flatMap(Collection::stream)
.collect(Collectors.toList())
.forEach(cp -> {
try {

Expand Down

0 comments on commit 4c3e235

Please sign in to comment.