diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/archive/ArchivePlugin.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/archive/ArchivePlugin.java index 0a30be7cb2..a8d486d338 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/archive/ArchivePlugin.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/archive/ArchivePlugin.java @@ -93,7 +93,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen private volatile boolean isArchiving; private volatile boolean isRestoring; private TaskListener archivingListener; - private TaskListener restoringListner; + private TaskListener restoringListener; ////////////////////////////////////////////////////////////////// @@ -282,7 +282,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen isRestoring = true; - restoringListner = new TaskListener() { + restoringListener = new TaskListener() { @Override public void taskCompleted(Task task) { isRestoring = false; @@ -295,7 +295,7 @@ public class ArchivePlugin extends Plugin implements FrontEndOnly, ProjectListen }; Task task = new RestoreTask(lastRestoreLocator, archiveJar, this); - task.addTaskListener(restoringListner); + task.addTaskListener(restoringListener); new TaskLauncher(task, tool.getToolFrame()); } diff --git a/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java b/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java index 6e468ee1e2..792f46f2c9 100644 --- a/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java +++ b/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java @@ -623,7 +623,7 @@ public class OptionsTest extends AbstractGenericTest { @Override 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 } } diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/ObjectChooserDialog.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/ObjectChooserDialog.java index 0aa754119b..7c9da99b61 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/ObjectChooserDialog.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/ObjectChooserDialog.java @@ -63,7 +63,7 @@ public class ObjectChooserDialog extends DialogComponentProvider { table.addSelectionListener(t -> objectSelected(t)); - table.setItemPickListner(t -> objectPicked(t)); + table.setItemPickListener(t -> objectPicked(t)); return table; } diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableWidget.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableWidget.java index d85f891941..b8a6a2cfb5 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableWidget.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableWidget.java @@ -133,7 +133,7 @@ public class GTableWidget extends JPanel { listener.itemPicked(gFilterTable.getSelectedRowObject()); } - public void setItemPickListner(TableItemPickedListener listener) { + public void setItemPickListener(TableItemPickedListener listener) { this.listener = listener; } diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java index 2b60c2e053..ea7c7ee19a 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java @@ -867,7 +867,7 @@ public class GTree extends JPanel implements BusyListener { tree.getModel().addTreeModelListener(listener); } - public void removeGTModelListner(TreeModelListener listener) { + public void removeGTModelListener(TreeModelListener listener) { tree.getModel().removeTreeModelListener(listener); } diff --git a/Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/FileSystem.java b/Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/FileSystem.java index 4cfd3fb7aa..6db0208eef 100644 --- a/Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/FileSystem.java +++ b/Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/FileSystem.java @@ -254,7 +254,7 @@ public interface FileSystem { /** * 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); diff --git a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListner.java b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListener.java similarity index 95% rename from Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListner.java rename to Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListener.java index 68529067a9..366c5dd90f 100644 --- a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListner.java +++ b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/PathHighlightListener.java @@ -15,7 +15,7 @@ */ package ghidra.graph.viewer.edge; -public interface PathHighlightListner { +public interface PathHighlightListener { /** * Called when the a path is highlighted. diff --git a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java index 0bc45cd701..f6bf916447 100644 --- a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java +++ b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java @@ -99,7 +99,7 @@ public class VisualGraphPathHighlighter> postDominanceFuture; private CompletableFuture circuitFuture; - private PathHighlightListner listener = isHover -> { + private PathHighlightListener listener = isHover -> { // stub }; @@ -108,7 +108,7 @@ public class VisualGraphPathHighlighter doUpdateFocusedVertex()); - public VisualGraphPathHighlighter(VisualGraph graph, PathHighlightListner listener) { + public VisualGraphPathHighlighter(VisualGraph graph, PathHighlightListener listener) { this.graph = graph; if (listener != null) { this.listener = listener; diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/GProgressBar.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/GProgressBar.java index 99b316b2e1..29eb284923 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/GProgressBar.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/GProgressBar.java @@ -59,12 +59,12 @@ public class GProgressBar extends JPanel { private Timer updateTimer; 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) { super(new BorderLayout(5, 1)); - this.cancelledListner = cancelledListner; + this.cancelledListener = cancelledListener; this.fontSize = fontSize; buildProgressPanel(includeTextField, includeCancelButton, includeAnimatedIcon); @@ -199,13 +199,13 @@ public class GProgressBar extends JPanel { } public void cancel() { - if (cancelledListner != null) { - cancelledListner.cancelled(); + if (cancelledListener != null) { + cancelledListener.cancelled(); } } public void setCancelledListener(CancelledListener listener) { - this.cancelledListner = listener; + this.cancelledListener = listener; } private void buildProgressPanel(boolean includeTextField, boolean includeCancelButton,