mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-3411 - small review fix
This commit is contained in:
parent
599728ec49
commit
f1183dd4e5
1 changed files with 2 additions and 4 deletions
|
@ -18,7 +18,6 @@ package docking.actions;
|
|||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import javax.swing.Action;
|
||||
import javax.swing.KeyStroke;
|
||||
|
@ -243,9 +242,8 @@ public class ToolActions implements DockingToolActions, PropertyChangeListener {
|
|||
result.addAll(actions);
|
||||
}
|
||||
|
||||
Set<Entry<String, SharedStubKeyBindingAction>> entries = sharedActionMap.entrySet();
|
||||
for (Entry<String, SharedStubKeyBindingAction> entry : entries) {
|
||||
SharedStubKeyBindingAction stub = entry.getValue();
|
||||
Collection<SharedStubKeyBindingAction> values = sharedActionMap.values();
|
||||
for (SharedStubKeyBindingAction stub : values) {
|
||||
String stubOwner = stub.getOwner();
|
||||
if (stubOwner.equals(owner)) {
|
||||
result.add(stub);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue