diff --git a/Ghidra/Framework/Graph/src/test/java/ghidra/graph/algo/viewer/AlgorithmSteppingTaskMonitor.java b/Ghidra/Framework/Graph/src/test/java/ghidra/graph/algo/viewer/AlgorithmSteppingTaskMonitor.java index 14ce330f86..8baf953c7e 100644 --- a/Ghidra/Framework/Graph/src/test/java/ghidra/graph/algo/viewer/AlgorithmSteppingTaskMonitor.java +++ b/Ghidra/Framework/Graph/src/test/java/ghidra/graph/algo/viewer/AlgorithmSteppingTaskMonitor.java @@ -29,14 +29,14 @@ import utility.function.Callback; */ public class AlgorithmSteppingTaskMonitor extends TaskMonitorAdapter { - private Set stepLisetners = new HashSet<>(); + private Set stepListeners = new HashSet<>(); public AlgorithmSteppingTaskMonitor() { setCancelEnabled(true); } public void addStepListener(Callback c) { - stepLisetners.add(c); + stepListeners.add(c); } @Override @@ -84,6 +84,6 @@ public class AlgorithmSteppingTaskMonitor extends TaskMonitorAdapter { } protected void notifyStepReady() { - stepLisetners.forEach(l -> l.call()); + stepListeners.forEach(l -> l.call()); } } diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectChangeSupport.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectChangeSupport.java index 0ffb21bf56..4459dbb025 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectChangeSupport.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectChangeSupport.java @@ -192,13 +192,13 @@ class DomainObjectChangeSupport { private List atomicAddListener(DomainObjectListener l) { - List previousLisetners = new ArrayList<>(); + List previousListeners = new ArrayList<>(); for (DomainObjectListener listener : listeners) { - previousLisetners.add(listener); + previousListeners.add(listener); } listeners.add(l); - return previousLisetners; + return previousListeners; } //==================================================================================================