GT-2702: Fixing spelling.

This commit is contained in:
ryanmkurtz 2019-03-28 12:44:27 -04:00
parent 097cf2e758
commit 6c8ee22c07
9 changed files with 17 additions and 17 deletions

View File

@ -93,7 +93,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
private volatile boolean isArchiving; private volatile boolean isArchiving;
private volatile boolean isRestoring; private volatile boolean isRestoring;
private TaskListener archivingListener; private TaskListener archivingListener;
private TaskListener restoringListner; private TaskListener restoringListener;
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
@ -282,7 +282,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
isRestoring = true; isRestoring = true;
restoringListner = new TaskListener() { restoringListener = new TaskListener() {
@Override @Override
public void taskCompleted(Task task) { public void taskCompleted(Task task) {
isRestoring = false; isRestoring = false;
@ -295,7 +295,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen
}; };
Task task = new RestoreTask(lastRestoreLocator, archiveJar, this); Task task = new RestoreTask(lastRestoreLocator, archiveJar, this);
task.addTaskListener(restoringListner); task.addTaskListener(restoringListener);
new TaskLauncher(task, tool.getToolFrame()); new TaskLauncher(task, tool.getToolFrame());
} }

View File

@ -623,7 +623,7 @@ public class OptionsTest extends AbstractGenericTest {
@Override @Override
public int hashCode() { public int hashCode() {
return 1;// set so that this listener gets called after the storingOptionsListnere return 1;// set so that this listener gets called after the storingOptionsListener
} }
} }

View File

@ -63,7 +63,7 @@ public class ObjectChooserDialog<T> extends DialogComponentProvider {
table.addSelectionListener(t -> objectSelected(t)); table.addSelectionListener(t -> objectSelected(t));
table.setItemPickListner(t -> objectPicked(t)); table.setItemPickListener(t -> objectPicked(t));
return table; return table;
} }

View File

@ -133,7 +133,7 @@ public class GTableWidget<T> extends JPanel {
listener.itemPicked(gFilterTable.getSelectedRowObject()); listener.itemPicked(gFilterTable.getSelectedRowObject());
} }
public void setItemPickListner(TableItemPickedListener<T> listener) { public void setItemPickListener(TableItemPickedListener<T> listener) {
this.listener = listener; this.listener = listener;
} }

View File

@ -867,7 +867,7 @@ public class GTree extends JPanel implements BusyListener {
tree.getModel().addTreeModelListener(listener); tree.getModel().addTreeModelListener(listener);
} }
public void removeGTModelListner(TreeModelListener listener) { public void removeGTModelListener(TreeModelListener listener) {
tree.getModel().removeTreeModelListener(listener); tree.getModel().removeTreeModelListener(listener);
} }

View File

@ -254,7 +254,7 @@ public interface FileSystem {
/** /**
* Adds the given listener to be notified of file system changes. * Adds the given listener to be notified of file system changes.
* @param listener the listner to be added. * @param listener the listener to be added.
*/ */
public void addFileSystemListener(FileSystemListener listener); public void addFileSystemListener(FileSystemListener listener);

View File

@ -15,7 +15,7 @@
*/ */
package ghidra.graph.viewer.edge; package ghidra.graph.viewer.edge;
public interface PathHighlightListner { public interface PathHighlightListener {
/** /**
* Called when the a path is highlighted. * Called when the a path is highlighted.

View File

@ -99,7 +99,7 @@ public class VisualGraphPathHighlighter<V extends VisualVertex, E extends Visual
private CompletableFuture<ChkDominanceAlgorithm<V, E>> postDominanceFuture; private CompletableFuture<ChkDominanceAlgorithm<V, E>> postDominanceFuture;
private CompletableFuture<Circuits> circuitFuture; private CompletableFuture<Circuits> circuitFuture;
private PathHighlightListner listener = isHover -> { private PathHighlightListener listener = isHover -> {
// stub // stub
}; };
@ -108,7 +108,7 @@ public class VisualGraphPathHighlighter<V extends VisualVertex, E extends Visual
private SwingUpdateManager focusedVertexUpdater = private SwingUpdateManager focusedVertexUpdater =
new SwingUpdateManager(() -> doUpdateFocusedVertex()); new SwingUpdateManager(() -> doUpdateFocusedVertex());
public VisualGraphPathHighlighter(VisualGraph<V, E> graph, PathHighlightListner listener) { public VisualGraphPathHighlighter(VisualGraph<V, E> graph, PathHighlightListener listener) {
this.graph = graph; this.graph = graph;
if (listener != null) { if (listener != null) {
this.listener = listener; this.listener = listener;

View File

@ -59,12 +59,12 @@ public class GProgressBar extends JPanel {
private Timer updateTimer; private Timer updateTimer;
private EmptyBorderButton cancelButton; private EmptyBorderButton cancelButton;
private CancelledListener cancelledListner; private CancelledListener cancelledListener;
public GProgressBar(CancelledListener cancelledListner, boolean includeTextField, public GProgressBar(CancelledListener cancelledListener, boolean includeTextField,
boolean includeCancelButton, boolean includeAnimatedIcon, float fontSize) { boolean includeCancelButton, boolean includeAnimatedIcon, float fontSize) {
super(new BorderLayout(5, 1)); super(new BorderLayout(5, 1));
this.cancelledListner = cancelledListner; this.cancelledListener = cancelledListener;
this.fontSize = fontSize; this.fontSize = fontSize;
buildProgressPanel(includeTextField, includeCancelButton, includeAnimatedIcon); buildProgressPanel(includeTextField, includeCancelButton, includeAnimatedIcon);
@ -199,13 +199,13 @@ public class GProgressBar extends JPanel {
} }
public void cancel() { public void cancel() {
if (cancelledListner != null) { if (cancelledListener != null) {
cancelledListner.cancelled(); cancelledListener.cancelled();
} }
} }
public void setCancelledListener(CancelledListener listener) { public void setCancelledListener(CancelledListener listener) {
this.cancelledListner = listener; this.cancelledListener = listener;
} }
private void buildProgressPanel(boolean includeTextField, boolean includeCancelButton, private void buildProgressPanel(boolean includeTextField, boolean includeCancelButton,