mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
changes from review
This commit is contained in:
parent
e3aebe3adb
commit
ca58264d65
6 changed files with 41 additions and 277 deletions
|
@ -310,12 +310,11 @@ class CheckoutManager {
|
|||
Element root = new Element("CHECKOUT_LIST");
|
||||
root.setAttribute("NEXT_ID", Long.toString(nextCheckoutId));
|
||||
|
||||
for (long id : checkouts.keySet()) {
|
||||
ItemCheckoutStatus coStatus = checkouts.get(id);
|
||||
for (ItemCheckoutStatus status : checkouts.values()) {
|
||||
// TRANSIENT checkout data must not be persisted - the existence
|
||||
// of such checkouts is retained in-memory only
|
||||
if (coStatus.getCheckoutType() != CheckoutType.TRANSIENT) {
|
||||
root.addContent(getCheckoutElement(coStatus));
|
||||
if (status.getCheckoutType() != CheckoutType.TRANSIENT) {
|
||||
root.addContent(getCheckoutElement(status));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue