mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 11:36:15 +01:00
Merge b9e619e770
into 40b1ac351f
This commit is contained in:
commit
9aa40c8210
1 changed files with 1 additions and 2 deletions
|
@ -121,8 +121,7 @@ class TransactionalHashMap<KeyType, ValueType> {
|
||||||
for(KeyType key : tempSetRemoved.get())
|
for(KeyType key : tempSetRemoved.get())
|
||||||
map.remove(key);
|
map.remove(key);
|
||||||
if (tempMap.get() != null)
|
if (tempMap.get() != null)
|
||||||
for (Map.Entry<KeyType, ValueType> entry : tempMap.get().entrySet())
|
map.putAll(tempMap.get());
|
||||||
map.put(entry.getKey(), entry.getValue());
|
|
||||||
abortDatabaseBatchWrite();
|
abortDatabaseBatchWrite();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue