diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectDBTransaction.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectDBTransaction.java index a7fc529b9e..123d93c4be 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectDBTransaction.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectDBTransaction.java @@ -1,6 +1,5 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +15,8 @@ */ package ghidra.framework.data; +import java.util.*; + import ghidra.framework.model.*; import ghidra.framework.plugintool.PluginTool; import ghidra.util.Msg; @@ -23,8 +24,6 @@ import ghidra.util.SystemUtilities; import ghidra.util.datastruct.WeakDataStructureFactory; import ghidra.util.datastruct.WeakSet; -import java.util.*; - /** * DomainObjectDBTransaction represents an atomic undoable operation performed * on a single domain object. @@ -145,7 +144,7 @@ class DomainObjectDBTransaction implements Transaction { try { entry = list.get(transactionID - baseId); } - catch (ArrayIndexOutOfBoundsException e) { + catch (IndexOutOfBoundsException e) { throw new IllegalStateException("Transaction not found"); } if (entry.status != NOT_DONE) {