mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Many typo's
These were found using the command below searching for duplicated words, and manually going through the results to remove the false positives and reword the true positives. Sometimes I removed the doubled word and sometimes I replaced the duplicated word. The grep command: grep -nIEr '\b([a-zA-Z]+)[[:space:]*]+\1\b' ./Ghidra
This commit is contained in:
parent
b7e91e80a2
commit
8303061629
252 changed files with 312 additions and 314 deletions
|
@ -23,7 +23,7 @@
|
|||
the application is using resource values as specified by the active theme. The theme specifies
|
||||
the Java Look and Feel, whether or not the overall theme is "dark" (which determines which default
|
||||
values to use) and any resource values which have been overridden specifically by that theme.
|
||||
There are two types of of themes; built-in themes and file-based themes. Built-in
|
||||
There are two types of themes; built-in themes and file-based themes. Built-in
|
||||
themes are implemented directly as sub-classes of <CODE>GTheme</CODE> and simply specify a
|
||||
Java Look and Feel
|
||||
and whether or not the theme is "dark". There is one "built-in" theme for each supported
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<P>The Theming feature allows users to customize the colors, fonts, and icons used throughout
|
||||
the application. The active theme determines the Java Look and Feel, whether the theme should
|
||||
use light or dark defaults, and any custom colors, fonts, and icons that override the default
|
||||
values. Users can can easily switch between any of the built-in themes or any saved themes found
|
||||
values. Users can easily switch between any of the built-in themes or any saved themes found
|
||||
in their home application directory</P>
|
||||
|
||||
<P>Users can also edit and create their own themes using the Theme Editor. Custom themes are
|
||||
|
|
|
@ -528,7 +528,7 @@
|
|||
<H3>Filter Results</H3>
|
||||
|
||||
<BLOCKQUOTE>
|
||||
<P>After applying the the filter show above, the table would appear as follows:</P>
|
||||
<P>After applying the filter shown above, the table would appear as follows:</P>
|
||||
<BR>
|
||||
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ class ComponentNode extends Node {
|
|||
* Removes the component from this node (and the manager), but possibly keeps an empty object as
|
||||
* a placeholder.
|
||||
* @param placeholder the placeholder object to be removed.
|
||||
* @param keepEmptyPlaceholder flag indicating to keep a placeholder placeholder object.
|
||||
* @param keepEmptyPlaceholder flag indicating to keep a placeholder object.
|
||||
*/
|
||||
void remove(ComponentPlaceholder placeholder, boolean keepEmptyPlaceholder) {
|
||||
if (placeholder.isActive()) {
|
||||
|
|
|
@ -775,7 +775,7 @@ public abstract class ComponentProvider implements HelpDescriptor, ActionContext
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the name of a cascading sub-menu name to use when when showing this provider in the
|
||||
* Returns the name of a cascading sub-menu name to use when showing this provider in the
|
||||
* "Window" menu. If the group name is null, the item will appear in the top-level menu.
|
||||
* @return the menu group for this provider or null if this provider should appear in the
|
||||
* top-level menu.
|
||||
|
|
|
@ -233,7 +233,7 @@ public class DockingHelpBroker extends GHelpBroker {
|
|||
* then just give up.
|
||||
*
|
||||
* @param area the area to call out
|
||||
* @param callCount the number number of times this method has already been called
|
||||
* @param callCount the number of times this method has already been called
|
||||
*/
|
||||
private void doCalloutReference(final Rectangle area, int callCount) {
|
||||
|
||||
|
|
|
@ -1392,7 +1392,7 @@ public abstract class AbstractDockingTest extends AbstractGuiTest {
|
|||
*
|
||||
* @param toggleAction the action
|
||||
* @param context the context for the action
|
||||
* @param selected true if the action is be be selected; false for not selected
|
||||
* @param selected true if the action is to be selected; false for not selected
|
||||
*/
|
||||
public static void setToggleActionSelected(ToggleDockingActionIf toggleAction,
|
||||
ActionContext context, boolean selected) {
|
||||
|
@ -1405,7 +1405,7 @@ public abstract class AbstractDockingTest extends AbstractGuiTest {
|
|||
*
|
||||
* @param toggleAction the action
|
||||
* @param context the context for the action
|
||||
* @param selected true if the action is be be selected; false for not selected
|
||||
* @param selected true if the action is to be selected; false for not selected
|
||||
* @param wait true to wait for the action to finish; false to invoke later
|
||||
*/
|
||||
public static void setToggleActionSelected(ToggleDockingActionIf toggleAction,
|
||||
|
|
|
@ -30,7 +30,7 @@ public interface AnimationPainter {
|
|||
*
|
||||
* @param glassPane the glass pane upon which painting takes place
|
||||
* @param graphics the graphics used to paint
|
||||
* @param value a value from from the range supplied to the animator when it was created
|
||||
* @param value a value from the range supplied to the animator when it was created
|
||||
*/
|
||||
public void paint(GGlassPane glassPane, Graphics graphics, double value);
|
||||
}
|
||||
|
|
|
@ -213,7 +213,7 @@ public class FindDialog extends ReusableDialogComponentProvider {
|
|||
//
|
||||
// At this point, we wrapped our search and did *not* find a match. This can only
|
||||
// happen if there is no matching text anywhere in the document, as after wrapping
|
||||
// will will again find the previous match, if it exists.
|
||||
// we will again find the previous match, if it exists.
|
||||
//
|
||||
notifyUser("Not found");
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ public interface FindDialogSearcher {
|
|||
* @param text the search text.
|
||||
* @param cursorPosition the current cursor position.
|
||||
* @param searchForward true if searching forward.
|
||||
* @param useRegex useRegex true if the search text is a regular expression; false if the texts is
|
||||
* @param useRegex true if the search text is a regular expression; false if the texts is
|
||||
* literal text.
|
||||
* @return the search result or null if no match was found.
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@ import utility.function.Callback;
|
|||
|
||||
/**
|
||||
* A component that acts like a label, but adds the ability to render HTML links with a client
|
||||
* callback for when the link is activated. Links can be activated by mouse clicking or or by
|
||||
* callback for when the link is activated. Links can be activated by mouse clicking or by
|
||||
* focusing the link and then pressing Enter or Space.
|
||||
* <p>
|
||||
* Users can make one simple text link by calling {@link #addLink(String, Callback)}.
|
||||
|
|
|
@ -135,7 +135,7 @@ public class ListSelectionTableDialog<T> extends DialogComponentProvider {
|
|||
}
|
||||
|
||||
/**
|
||||
* Calling this method does does not work correctly when used with
|
||||
* Calling this method does not work correctly when used with
|
||||
* {@link #show(Component)} or {@link #showSelectMultiple(Component)}. To use this method, you
|
||||
* must show the dialog by calling:
|
||||
* <pre>
|
||||
|
|
|
@ -136,7 +136,7 @@ public class PasswordDialog extends DialogComponentProvider {
|
|||
/**
|
||||
* Construct a new PasswordDialog which may include user ID specification/prompt if either
|
||||
* {@code allowUserIdEntry} is true or a non-null {@code defaultUserId} has been specified.
|
||||
* The dialog optionally includes a message text area area which supports the use of
|
||||
* The dialog optionally includes a message text area which supports the use of
|
||||
* {@link #setErrorText(String)}.
|
||||
*
|
||||
* @param title title of the dialog
|
||||
|
|
|
@ -18,7 +18,7 @@ package docking.widgets.fieldpanel.support;
|
|||
import docking.widgets.fieldpanel.field.Field;
|
||||
|
||||
/**
|
||||
* A highlighter for for {@link Field}s.
|
||||
* A highlighter for {@link Field}s.
|
||||
*/
|
||||
public interface FieldHighlightFactory {
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@ public class FilterTextField extends JPanel {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the accessible name prefix for for the focusable components in the filter panel.
|
||||
* Sets the accessible name prefix for the focusable components in the filter panel.
|
||||
* @param prefix the base name for these components. A suffix will be added to further
|
||||
* describe the sub component.
|
||||
*/
|
||||
|
|
|
@ -70,7 +70,7 @@ public class PathnameTablePanel extends JPanel {
|
|||
* @param enableEdits true to allow editing of entries <em>directly in the table</em>, i.e., via
|
||||
* the cell editor. The add and remove buttons still allow modification of the list.
|
||||
* @param addToTop true if the add button should add entries to the top of the list. False to
|
||||
* add entries to the bottom. This behavior is overridden if if {@code ordered} is
|
||||
* add entries to the bottom. This behavior is overridden if {@code ordered} is
|
||||
* false.
|
||||
* @param ordered true if the order of entries matters. If so, up and down buttons are provided
|
||||
* so the user may arrange the entries. If not, entries are sorted alphabetically.
|
||||
|
@ -92,7 +92,7 @@ public class PathnameTablePanel extends JPanel {
|
|||
* @param enableEdits true to allow editing of entries <em>directly in the table</em>, i.e., via
|
||||
* the cell editor. The add and remove buttons still allow modification of the list.
|
||||
* @param addToTop true if the add button should add entries to the top of the list. False to
|
||||
* add entries to the bottom. This behavior is overridden if if {@code ordered} is
|
||||
* add entries to the bottom. This behavior is overridden if {@code ordered} is
|
||||
* false.
|
||||
* @param ordered true if the order of entries matters. If so, up and down buttons are provided
|
||||
* so the user may arrange the entries. If not, entries are sorted alphabetically.
|
||||
|
|
|
@ -18,7 +18,7 @@ package docking.widgets.table;
|
|||
import ghidra.docking.settings.Settings;
|
||||
|
||||
/**
|
||||
* An interface that is meant to take the column type of of a {@link DynamicTableColumn}
|
||||
* An interface that is meant to take the column type of a {@link DynamicTableColumn}
|
||||
* and convert it to the specified type. This class is meant to be used when the dynamic
|
||||
* filtering mechanism is not correctly filtering a column, usually because the default filter
|
||||
* for the column type does not match what the renderer is displaying in the table.
|
||||
|
|
|
@ -29,7 +29,7 @@ import utilities.util.reflection.ReflectionUtilities;
|
|||
* for table models that have row types that are easily converted to other more generic types.
|
||||
* <p>
|
||||
* This interface is an ExtensionPoint so that once created, they will be ingested automatically
|
||||
* by Ghidra. Once discovered, these mappers will be used to provide dynamic columns to to
|
||||
* by Ghidra. Once discovered, these mappers will be used to provide dynamic columns to
|
||||
* tables with row types that match <code>ROW_TYPE</code>.
|
||||
*
|
||||
* @param <ROW_TYPE> The row type of a given table model
|
||||
|
|
|
@ -36,7 +36,7 @@ public class MappedColumnConstraint<T, M> implements ColumnConstraint<T> {
|
|||
|
||||
/**
|
||||
* Constructs a new Mapped ColumnConstraint
|
||||
* @param mapper a mapper from from the column type to a mapped type.
|
||||
* @param mapper a mapper from the column type to a mapped type.
|
||||
* @param delegate the column constraint of the mapped type.
|
||||
*/
|
||||
public MappedColumnConstraint(ColumnTypeMapper<T, M> mapper, ColumnConstraint<M> delegate) {
|
||||
|
|
|
@ -327,7 +327,7 @@ abstract class CoreGTreeNode implements Cloneable {
|
|||
/**
|
||||
* Returns true if the node is in the process of loading its children. For nodes
|
||||
* that directly extend GTreeNode, this is always false. See {@link GTreeSlowLoadingNode}
|
||||
* for information on nodes that that can be in the progress of loading.
|
||||
* for information on nodes that can be in the progress of loading.
|
||||
* @param childList the list to test.
|
||||
* @return true if the node is in the progress of loading its children.
|
||||
*/
|
||||
|
|
|
@ -71,7 +71,7 @@ public class GTree extends JPanel implements BusyListener {
|
|||
|
||||
/**
|
||||
* This is the root node of the tree's data model. It may or may not be the root node that is
|
||||
* currently being displayed by the tree. If there is currently a filter applied, then then the
|
||||
* currently being displayed by the tree. If there is currently a filter applied, then the
|
||||
* displayed root node will be a clone whose children have been trimmed to only those that match
|
||||
* the filter. By keeping this variable around, we can give this node to clients, regardless of
|
||||
* the root node visible in the tree.
|
||||
|
@ -1756,7 +1756,7 @@ public class GTree extends JPanel implements BusyListener {
|
|||
|
||||
/**
|
||||
* Calling setSelectedPaths on GTree queues the selection for after any currently scheduled
|
||||
* tasks. This method sets the selected path immediately and does not wait for for scheduled
|
||||
* tasks. This method sets the selected path immediately and does not wait for any scheduled
|
||||
* tasks.
|
||||
*
|
||||
* @param path the path to select.
|
||||
|
|
|
@ -128,7 +128,7 @@ public class GValuesMap {
|
|||
* AbstractValue types as this map.
|
||||
* @param otherMap The GValuesMap to copy values from
|
||||
* @throws IllegalArgumentException if the given map does not have exactly the same set of
|
||||
* names and types as this this map
|
||||
* names and types as this map
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public void copyValues(GValuesMap otherMap) {
|
||||
|
|
|
@ -180,7 +180,7 @@ public abstract class WizardModel<T> {
|
|||
}
|
||||
|
||||
/**
|
||||
* Calls dispose() on all the wizard steps. Subclasses can override this do do additional
|
||||
* Calls dispose() on all the wizard steps. Subclasses can override this to do additional
|
||||
* cleanup if needed.
|
||||
*/
|
||||
public void dispose() {
|
||||
|
|
|
@ -269,9 +269,9 @@ public class DefaultThreadedTableFilterTest extends AbstractDockingTest {
|
|||
|
||||
startsWithFilter_AllowGlobbing("t\\?");
|
||||
// sub-filter again
|
||||
// The previous filer was not used due to our the the code we have that checks for globbing
|
||||
// The previous filter was not used due to the code that checks for globbing
|
||||
// escape characters. But, the filter before that using just 't' is a valid parent of the
|
||||
// current filter, so that get used.
|
||||
// current filter, so that gets used.
|
||||
assertNumberOfItemsPassedThroughFilter(5);
|
||||
assertRowCount(1); // matching values: t?n
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue