mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 15:26:47 +00:00
Update variable names in recently refactored method
This commit is contained in:
1 parent
9e1b716548
commit
73765fc4ec
1 file changed
+3
-3
+3
-3
@@ -205,11 +205,11 @@ public class CurrencyConversionManager implements Managed {
|
||||
|
||||
private void updateCachedData(final String cacheKey, final Map<String, BigDecimal> data) {
|
||||
cacheCluster.useCluster(connection -> {
|
||||
final Map<String, String> sharedCoinGeckoValues = new HashMap<>();
|
||||
final Map<String, String> sharedValues = new HashMap<>();
|
||||
|
||||
data.forEach((currency, conversionRate) -> sharedCoinGeckoValues.put(currency, conversionRate.toString()));
|
||||
data.forEach((currency, conversionRate) -> sharedValues.put(currency, conversionRate.toString()));
|
||||
|
||||
connection.sync().hset(cacheKey, sharedCoinGeckoValues);
|
||||
connection.sync().hset(cacheKey, sharedValues);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user