mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 13:11:47 +00:00
Overlooked refactor
This commit is contained in:
parent
c51183f1a2
commit
dd477783e1
@ -764,8 +764,7 @@ public abstract class AbstractDockingTest extends AbstractGenericTest {
|
||||
|
||||
// just in case there is a tool, but it is not visible, grab the tool's manager
|
||||
List<DockingWindowManager> managers =
|
||||
(List<DockingWindowManager>) getInstanceField("instanceList",
|
||||
DockingWindowManager.class);
|
||||
(List<DockingWindowManager>) getInstanceField("instances", DockingWindowManager.class);
|
||||
for (int i = managers.size() - 1; i >= 0; i--) {
|
||||
DockingWindowManager m = managers.get(i);
|
||||
String title = m.getRootFrame().getTitle();
|
||||
@ -1096,8 +1095,7 @@ public abstract class AbstractDockingTest extends AbstractGenericTest {
|
||||
Set<DockingActionIf> ownerActions = tool.getDockingActionsByOwnerName(owner);
|
||||
return ownerActions.stream()
|
||||
.filter(action -> action.getName().equals(name))
|
||||
.collect(
|
||||
Collectors.toSet());
|
||||
.collect(Collectors.toSet());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user