mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 05:32:14 +00:00
Typo fix: Lisetner -> Listener
No behavioral changes
This commit is contained in:
parent
bed44bd55d
commit
5c1ae47774
@ -29,14 +29,14 @@ import utility.function.Callback;
|
||||
*/
|
||||
public class AlgorithmSteppingTaskMonitor extends TaskMonitorAdapter {
|
||||
|
||||
private Set<Callback> stepLisetners = new HashSet<>();
|
||||
private Set<Callback> 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());
|
||||
}
|
||||
}
|
||||
|
@ -192,13 +192,13 @@ class DomainObjectChangeSupport {
|
||||
|
||||
private List<DomainObjectListener> atomicAddListener(DomainObjectListener l) {
|
||||
|
||||
List<DomainObjectListener> previousLisetners = new ArrayList<>();
|
||||
List<DomainObjectListener> previousListeners = new ArrayList<>();
|
||||
for (DomainObjectListener listener : listeners) {
|
||||
previousLisetners.add(listener);
|
||||
previousListeners.add(listener);
|
||||
}
|
||||
|
||||
listeners.add(l);
|
||||
return previousLisetners;
|
||||
return previousListeners;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user