mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
fixed formatting in DbObjectCache
This commit is contained in:
parent
1675f226b3
commit
3dbf930578
1 changed files with 17 additions and 19 deletions
|
@ -199,8 +199,8 @@ public class DBObjectCache<T extends DatabaseObject> {
|
|||
* @param keyRanges key ranges to delete
|
||||
*/
|
||||
private void deleteLargeKeyRanges(List<KeyRange> keyRanges) {
|
||||
//@formatter:off
|
||||
map.keySet().stream()
|
||||
map.keySet()
|
||||
.stream()
|
||||
.filter(key -> keyRangesContain(keyRanges, key))
|
||||
.collect(Collectors.toList())
|
||||
.forEach(key -> {
|
||||
|
@ -211,7 +211,6 @@ public class DBObjectCache<T extends DatabaseObject> {
|
|||
ref.clear();
|
||||
}
|
||||
});
|
||||
//@formatter:on
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -281,12 +280,11 @@ public class DBObjectCache<T extends DatabaseObject> {
|
|||
}
|
||||
}
|
||||
else {
|
||||
//@formatter:off
|
||||
map.keySet().stream()
|
||||
map.keySet()
|
||||
.stream()
|
||||
.filter(key -> (key >= startKey && key <= endKey))
|
||||
.collect(Collectors.toList())
|
||||
.forEach(key -> doInvalidate(key));
|
||||
//@formatter:on
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue