Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-2001_James_fix_spelling_mistakes

Jamesdfb7a1cfe19e
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java
index 0a348b0e76..9e4692de6f 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java
@@ -505,7 +505,7 @@ public class PreviewTable extends AbstractInstructionTable {
}
};
- copyInstructionWithCommentsAction.setHelpLocation(dialog.getHelpLocatdion());
+ copyInstructionWithCommentsAction.setHelpLocation(dialog.getHelpLocation());
}
/**
@@ -533,7 +533,7 @@ public class PreviewTable extends AbstractInstructionTable {
}
};
- copyInstructionAction.setHelpLocation(dialog.getHelpLocatdion());
+ copyInstructionAction.setHelpLocation(dialog.getHelpLocation());
}
/**
@@ -561,7 +561,7 @@ public class PreviewTable extends AbstractInstructionTable {
}
};
- copyNoSpacesAction.setHelpLocation(dialog.getHelpLocatdion());
+ copyNoSpacesAction.setHelpLocation(dialog.getHelpLocation());
}
private class BinaryAction extends AbstractAction {
diff --git a/Ghidra/Framework/Docking/src/main/java/docking/DialogComponentProvider.java b/Ghidra/Framework/Docking/src/main/java/docking/DialogComponentProvider.java
index ab82acafc1..67922c58fc 100644
--- a/Ghidra/Framework/Docking/src/main/java/docking/DialogComponentProvider.java
+++ b/Ghidra/Framework/Docking/src/main/java/docking/DialogComponentProvider.java
@@ -1011,7 +1011,7 @@ public class DialogComponentProvider
* Returns the help location for this dialog
* @return the help location
*/
- public HelpLocation getHelpLocatdion() {
+ public HelpLocation getHelpLocation() {
HelpService helpService = DockingWindowManager.getHelpService();
return helpService.getHelpLocation(rootPanel);
}
@@ -1129,7 +1129,7 @@ public class DialogComponentProvider
* Returns the initial location for the dialog or null if none was set
* @return the point
*/
- public Point getIntialLocation() {
+ public Point getInitialLocation() {
return initialLocation;
}
@@ -1273,7 +1273,7 @@ public class DialogComponentProvider
* Returns true if this dialog remembers its size from one invocation to the next.
* @return true if this dialog remembers its size from one invocation to the next.
*/
- public boolean getRemberSize() {
+ public boolean getRememberSize() {
return rememberSize;
}
diff --git a/Ghidra/Framework/Docking/src/main/java/docking/DockingDialog.java b/Ghidra/Framework/Docking/src/main/java/docking/DockingDialog.java
index c47a95c333..eec623712c 100644
--- a/Ghidra/Framework/Docking/src/main/java/docking/DockingDialog.java
+++ b/Ghidra/Framework/Docking/src/main/java/docking/DockingDialog.java
@@ -130,7 +130,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
Rectangle lastBounds = boundsInfo.getEndBounds();
applySize(lastBounds); // apply the size before we try to center
- Point initialLocation = component.getIntialLocation();
+ Point initialLocation = component.getInitialLocation();
if (initialLocation != null) {
// NOTE: have to call setLocation() twice because the first time the native peer
// component's location is not actually changed; calling setLocation() again
@@ -154,7 +154,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
}
private void applySize(Rectangle savedBounds) {
- boolean rememberSize = component.getRemberSize();
+ boolean rememberSize = component.getRememberSize();
if (rememberSize && savedBounds != null) {
setSize(savedBounds.width, savedBounds.height);
return;
@@ -258,7 +258,7 @@ public class DockingDialog extends JDialog implements HelpDescriptor {
}
private void cleanup() {
- if (component.getRemberSize() || component.getRememberLocation()) {
+ if (component.getRememberSize() || component.getRememberLocation()) {
String key = getKey();
Rectangle rect = getBounds();
BoundsInfo boundsInfo = dialogBoundsMap.get(key);