Merge branch 'GP-0_ryanmkurtz_PR-7225_hippietrail_the-the'

This commit is contained in:
Ryan Kurtz 2024-11-26 09:05:43 -05:00
commit 2bebb96f77
208 changed files with 582 additions and 589 deletions

View File

@ -1052,7 +1052,7 @@ Added API method <span class="gcode">Structure.setLength(int length)</span> whic
<li><I>CParser</I>. Enum constants are now created by the CParser when <span class="gcode">#define</span> expressions ending in <span class="gcode">ULL</span>, <span class="gcode">LLU</span>, <span class="gcode">LL</span>, and <span class="gcode">LU</span> are found in parentheses. (GP-3285, Issue #5161)</li>
<li><I>CParser</I>. Fixed expansion of <span class="gcode">#define</span> statements embedded in <span class="gcode">#include</span> files and parsing of constants with <span class="gcode">UL</span>/<span class="gcode">LL</span> size specifications. (GP-3310, Issue #5207)</li>
<li><I>CParser</I>. Fixed CParser issues with forward-declared Enums and typedefs used within the body of functions. (GP-3371, Issue #3526, #5271)</li>
<li><I>CParser</I>. <span class="gcode">Enum</span> sizes are now set to the size of an <span class="gcode">int</span> for the processor (formerly 4), and <span class="gcode">enum</span>s from <span class="gcode">#define</span>s are set to the the smallest <span class="gcode">enum</span> size that will fit the number (formerly 8). Future change will add packed <span class="gcode">enum</span> sizes. (GP-3385)</li>
<li><I>CParser</I>. <span class="gcode">Enum</span> sizes are now set to the size of an <span class="gcode">int</span> for the processor (formerly 4), and <span class="gcode">enum</span>s from <span class="gcode">#define</span>s are set to the smallest <span class="gcode">enum</span> size that will fit the number (formerly 8). Future change will add packed <span class="gcode">enum</span> sizes. (GP-3385)</li>
<li><I>Data</I>. Corrected handling of zero-length components in the form of Listing DataComponent CodeUnits. These were incorrectly reporting a length of 0 instead 1; all Listing Data, including DataComponents, must report a positive non-zero length. (GP-3314)</li>
<li><I>Data Types</I>. Automatically created class structures now respect the <span class="gtitle">Preferred Root Namespace Category</span> property. (GP-1123, Issue #3196)</li>
<li><I>Data Types</I>. Added support for floating-point data types to parse decimal string representation. A significant refactor of FloatFormat and BigFloat was completed. BigFloat is now used as the value class for all float data types. Introduced <span class="gcode">DataType.getAlignedLength()</span> method which was needed to differentiate between the <em>raw</em> encoding size and the <em>aligned</em> (i.e., padded) size used by a compiler when allocating storage (i.e., <span class="gcode">sizeof</span>). Example: for x86-32 gcc, 80-bit float has an aligned-length of 12-bytes which reflects compiler's <span class="gcode">sizeof(long double)</span>. (GP-1379)</li>

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -358,7 +358,7 @@ public interface DebugClient extends DebugClientReentrant {
DebugSystemObjects getSystemObjects();
/**
* The the ID for the local server
* The ID for the local server
*
* @return the ID
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -83,7 +83,7 @@ import ghidra.util.Msg;
* <li>Observations of registers behave exactly the same as observations for memory, by leveraging
* Ghidra's "register space." The only difference is that those observations must be recorded with
* respect to a given thread. Each thread is effectively allocated its own copy of the register
* space. Most the the API components require you to obtain a special "register space" for a given
* space. Most of the API components require you to obtain a special "register space" for a given
* thread before recording observations of or applying annotations to that thread.</li>
* </ul>
*

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -72,7 +72,7 @@ import ghidra.trace.model.time.TraceTimeManager;
* <li>Observations of registers behave exactly the same as observations for memory, by leveraging
* Ghidra's "register space." The only difference is that those observations must be recorded with
* respect to a given thread. Each thread is effectively allocated its own copy of the register
* space. Most the the API components require you to obtain a special "register space" for a given
* space. Most of the API components require you to obtain a special "register space" for a given
* thread before recording observations of or applying annotations to that thread.</li>
* </ul>
*

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -355,7 +355,7 @@ public interface FridaClient extends FridaClientReentrant {
}
/**
* The the ID for the local server
* The ID for the local server
*
* @return the ID
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -38,7 +38,7 @@ public class GdbThreadGroupStartedEvent extends AbstractGdbThreadGroupEvent {
}
/**
* Get the the process ID
* Get the process ID
*
* @return the process ID
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -969,7 +969,7 @@ public class GdbManagerImpl implements GdbManager {
return;
}
/**
* NOTE: I've forgotten why, but the the state update needs to happen between handle and
* NOTE: I've forgotten why, but the state update needs to happen between handle and
* finish.
*/
boolean cmdFinished = false;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -378,7 +378,7 @@ public interface DebugClient extends DebugClientReentrant {
public SBListener getListener();
/**
* The the ID for the local server
* The ID for the local server
*
* @return the ID
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -800,7 +800,7 @@ public interface FlatDebuggerAPI {
}
/**
* The the target service
* The target service
*
* @return the service
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -85,7 +85,7 @@ import ghidra.util.task.TaskMonitor;
* <li>Observations of registers behave exactly the same as observations for memory, by leveraging
* Ghidra's "register space." The only difference is that those observations must be recorded with
* respect to a given thread. Each thread is effectively allocated its own copy of the register
* space. Most the the API components require you to obtain a special "register space" for a given
* space. Most of the API components require you to obtain a special "register space" for a given
* thread before recording observations of or applying annotations to that thread.</li>
* </ul>
*

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -161,7 +161,7 @@ public class DebuggerConsolePlugin extends Plugin implements DebuggerConsoleServ
* For testing: to verify the contents of a message delivered to the console log
*
* @param ctx the context
* @return the the log entry
* @return the log entry
*/
public LogRow<?> getLogRow(ActionContext ctx) {
return provider.getLogRow(ctx);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -138,7 +138,7 @@ public interface VariableValueRow {
/**
* Render the key for display in diagnostics
*
* @return the the key as a string
* @return the key as a string
*/
default String keyToSimpleString() {
return key().toString();

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -142,7 +142,7 @@ public class AsyncLazyValue<T> {
}
/**
* Check the the value is available immediately
* Check if the value is available immediately
*
* @return true if {@link #request()} or {@link #provide()} has been called and completed.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -69,7 +69,7 @@ public abstract class AsyncPairingCache<K, V> {
protected abstract Map<K, CompletableFuture<V>> createPromiseCache(int max);
/**
* Enter a promise for the the given key into the cache
* Enter a promise for the given key into the cache
*
* <p>
* If the result for the given key is already available, the promise does not enter the cache.
@ -83,7 +83,7 @@ public abstract class AsyncPairingCache<K, V> {
}
/**
* Enter a promise for the the given key into the cache
* Enter a promise for the given key into the cache
*
* <p>
* If the result for the given key is already available, the promise does not enter the cache.

View File

@ -578,7 +578,7 @@ public class ToyDBTraceBuilder implements AutoCloseable {
*
* @param snap the starting snap
* @param start the min address
* @param platform the platform the the language to disassemble
* @param platform the platform for the language to disassemble
* @param buf the bytes to place, which will become the unit's bytes
* @return the instruction unit
* @throws CodeUnitInsertionException if the instruction cannot be created

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -426,7 +426,7 @@ public class DBCachedObjectIndex<K, T extends DBAnnotatedObject> {
* @param key the key
* @see #descending()
* @see #sub(Object, boolean, Object, boolean)
* @return the the value of the previous key, or null
* @return the value of the previous key, or null
*/
public T lowerValue(K key) {
return firstOf(head(key, false).descending().values());

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -739,7 +739,7 @@ public class DBCachedObjectStoreFactory {
void encode(ByteBuffer buffer, T value);
/**
* The the class describing {@link T}
* The class describing {@link T}
*
* @return the class
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -423,7 +423,7 @@ static void ftoa(float f, char *buff, int len)
fa = f2;
// printf("%f = %u 2^%d 10^%d?\n", f, fa, e2, ea);
while (e2 > 0) {
// If the the high bit is set
// If the high bit is set
// then we can't multiply by 2
// without losing it, so divide by 10
// and round off

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -420,7 +420,7 @@ public class ExecutableScorer {
* to create symmetric score contributions and accumulate the contributions in the matrix
* @param pairs is the full list of pairs in the cluster
* @param i is the first function pair sharing this pair of executables
* @param j is the the last(+1) function pair sharing this pair of executables
* @param j is the last(+1) function pair sharing this pair of executables
*/
private void scoreAcrossExecutablePair(List<FunctionPair> pairs, int i, int j) {
int size = j - i;

View File

@ -1,20 +1,19 @@
/* ###
* IP: GHIDRA
* REVIEWED: YES
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Reports the the number of disassembly error bookmarks currently in the program.
// Reports the number of disassembly error bookmarks currently in the program.
// This can be an "indicator" of bad analysis, strange instructions, or non-returning functions.
//
// Assumes a program is open.

View File

@ -187,7 +187,7 @@
nodes name.</P>
<BLOCKQUOTE>
<P><IMG border="0" src="help/shared/tip.png" alt="">The the format of a node path looks
<P><IMG border="0" src="help/shared/tip.png" alt="">The format of a node path looks
similar to a filesystem path, for example: <CODE>Root/folder1/folder2/nodeName</CODE>.
In this example, with path filtering enabled, you can match this node with any of the
following filter strings:

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -35,7 +35,7 @@ public class AddBitMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block in number of bits to be mapped
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -40,7 +40,7 @@ public class AddByteMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag
@ -63,7 +63,7 @@ public class AddByteMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -34,7 +34,7 @@ public class AddFileBytesMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -33,7 +33,7 @@ public class AddInitializedMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -30,7 +30,7 @@ public class AddUninitializedMemoryBlockCmd extends AbstractAddMemoryBlockCmd {
* @param name the name for the new memory block.
* @param comment the comment for the block
* @param source indicates what is creating the block
* @param start the start address for the the block
* @param start the start address for the block
* @param length the length of the new block
* @param read sets the block's read permission flag
* @param write sets the block's write permission flag

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -140,8 +140,8 @@ class AnalysisPanel extends JPanel implements PropertyChangeListener {
}
/**
* Copies the the non-default options from the program analysis options into a new options object
* @return the the non-default options from the program analysis options into a new options object
* Copies the non-default options from the program analysis options into a new options object
* @return the non-default options from the program analysis options into a new options object
*/
private Options getNonDefaultProgramOptions() {
FileOptions options = new FileOptions("Current Program Options");

View File

@ -712,7 +712,7 @@ public abstract class CompEditorModel extends CompositeEditorModel {
* @throws InvalidDataTypeException if the structure being edited is part
* of the data type being inserted
* @throws InsufficientBytesException if there aren't enough bytes in the specified range
* @throws CancelledException the the work is cancelled
* @throws CancelledException if the work is cancelled
*/
protected abstract boolean replaceRange(int startRowIndex, int endRowIndex, DataType datatype,
int length, TaskMonitor monitor)

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -77,7 +77,7 @@ public class CreateEnumFromSelectionAction extends DockingAction {
}
private void selectNewEnum(GTree gTree, String parentName, String name) {
// Select new node in tree; run later to give the tree a chance to add the the new node
// Select new node in tree; run later to give the tree a chance to add the new node
Swing.runLater(() -> {
GTreeNode rootNode = gTree.getViewRoot();
gTree.setSelectedNodeByNamePath(

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -21,7 +21,7 @@ import ghidra.app.context.ProgramActionContext;
import ghidra.program.model.listing.Program;
/**
* Abstract base class for program actions that change their menu name depending on the the active
* Abstract base class for program actions that change their menu name depending on the active
* program. Note that actions that derived from this class only work on programs that are
* globally managed by Ghidra and not opened and managed by individual plugins. If the action
* context should happen to contain a non-global managed program, the tool's concept of the

View File

@ -1166,7 +1166,7 @@ class ProgramTreeActionManager implements ClipboardOwner {
}
/**
* Update the view list if the the given path is the an ancestor of any of the paths currently
* Update the view list if the given path is an ancestor of any of the paths currently
* in the view; remove the descendant and add the ancestor path.
* @param tree the tree
* @param path path the check against the view list

View File

@ -138,8 +138,8 @@ public class TableComponentProvider<T> extends ComponentProviderAdapter
if (navigatable != null) {
// Only allow global actions if we are derived from the connect/primary navigatable.
// This allows the the primary navigatable to process key events without the user having
// to focus first focus the primary navigatable.
// This allows the primary navigatable to process key events without the user having
// to first focus the primary navigatable.
table.setActionsEnabled(navigatable.isConnected());
navigatable.addNavigatableListener(this);
table.installNavigation(tool, navigatable);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -19,7 +19,7 @@ import org.apache.logging.log4j.message.Message;
/**
* A simple {@link Message} implementation that allows us to use the filtering capability
* of log4j. This class has a formatted and unformatted message. log4j writes the the formatted
* of log4j. This class has a formatted and unformatted message. log4j writes the formatted
* message out. Our formatted message is the original message given to us. We use the
* unformatted message, in conjunction with a regex filter to allow for filtering such that
* the script log file only has script messages.

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -27,7 +27,7 @@ import ghidra.program.util.ProgramLocation;
public abstract class MarkerDescriptor {
/**
* Called when the navigation bar to the right of the window is clicked to allow the the
* Called when the navigation bar to the right of the window is clicked to allow the
* creator of a Marker an opportunity to provide a more specific ProgramLocation for
* navigation. If null is specified, the client will navigate to the corresponding address.
* @param loc the marker location

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -40,7 +40,7 @@ public class NameDeduper {
}
/**
* Add names to the the de-duper that have already been used.
* Add names to the de-duper that have already been used.
*
* @param alreadyUsedNames names already used
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -249,7 +249,7 @@ public class DWARFExpressionEvaluator {
// Retrieve value held in register X and add offset from operand and push result on stack.
// Fake it using zero as register value.
// Mainly only useful if offset is zero or if non-zero the register happens to
// be the the stack pointer.
// be the stack pointer.
long offset = currentOp.getOperandValue(0);
push(0 /*fake register value */ + offset);
lastRegister = currentOp.getRelativeOpCodeOffset(DW_OP_breg0);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -69,7 +69,7 @@ public @interface FieldMapping {
* {@link DataTypeMapperContext context}.
* <p>
* For example, a version number could be used to allow some optional fields to be skipped
* depending on the the concrete {@link DataTypeMapper}'s information during structure
* depending on the concrete {@link DataTypeMapper}'s information during structure
* mapping registration.
* <p>
* Similar to {@link #optional()}

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -35,7 +35,7 @@ import ghidra.util.task.TaskMonitor;
/**
* Class for representing the common components of the various dyld_cache_slide_info structures.
* The intent is for the the full dyld_cache_slide_info structures to extend this and add their
* The intent is for the full dyld_cache_slide_info structures to extend this and add their
* specific parts.
*
* @see <a href="https://github.com/apple-oss-distributions/dyld/blob/main/cache-builder/dyld_cache_format.h">dyld_cache_format.h</a>

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -350,7 +350,7 @@ public class BytesFieldFactory extends FieldFactory {
}
/**
* Computes how many bytes the the given column position represents. Normally this is just the
* Computes how many bytes the given column position represents. Normally this is just the
* column position / 2 (since each byte consists of two chars). There is a special case when
* the col position is just past the last char of the token. In this case, we want to return
* the number of bytes in a token - 1;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -87,7 +87,7 @@ public class ProgramBigListingModel implements ListingModel, FormatModelListener
formatModelChanged(null);
}
// There are quite a few options that affect the display of the the layouts. Flush
// There are quite a few options that affect the display of the layouts. Flush
// the cache on any change, as it is simpler than tracking individual options.
layoutCache.clear();
}

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -78,7 +78,7 @@ public class MultiListingLayoutModel implements ListingModelListener, FormatMode
}
/**
* Returns the the ListingLayoutModel for the i'th program.
* Returns the ListingLayoutModel for the i'th program.
* @param index the index of program for which to return a listing model
*/
public ListingModel getAlignedModel(int index) {

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -207,7 +207,7 @@ public class AddressIndexMap {
* Returns the index for the given address. If the address is not mapped, the result is
* defined as follows:
* if the address is less than the smallest address in the map, then null is returned
* if the address is greater the the largest address in the map, then a value one bigger than
* if the address is greater than the largest address in the map, then a value one bigger than
* the index of the largest address in the map.
* if the address is in a "gap", then the index of the next largest address that is in the
* map is returned.
@ -299,10 +299,10 @@ public class AddressIndexMap {
}
/**
* Returns the the maximum address for the range containing the given address.
* Returns the maximum address for the range containing the given address.
*
* @param addr the address to find its containing range's max address.
* @return the the maximum address for the range containing the given address.
* @return the maximum address for the range containing the given address.
*/
public BigInteger getMaxIndex(Address addr) {
int rangeIndex = Arrays.binarySearch(addressList, addr);
@ -317,10 +317,10 @@ public class AddressIndexMap {
}
/**
* Returns the the minimum address for the range containing the given address.
* Returns the minimum address for the range containing the given address.
*
* @param addr the address to find its containing range's min address.
* @return the the minimum address for the range containing the given address.
* @return the minimum address for the range containing the given address.
*/
public BigInteger getMinIndex(Address addr) {
int rangeIndex = Arrays.binarySearch(addressList, addr);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -128,7 +128,7 @@ public class GhidraProject {
*
* @param projectDirPath the directory path to contain the new Ghidra project.
* @param projectName the name of the project to be created.
* @param temporary if true, deletes the the project when it is closed - useful for testing.
* @param temporary if true, deletes the project when it is closed - useful for testing.
* @return an open ghidra project.
* @throws IOException if there was a problem accessing the project
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -28,14 +28,14 @@ import ghidra.util.datastruct.Duo.Side;
/**
* A model for comparing one or more functions in a side by side display. The model supports the
* concept of a set of function that can be selected for each side of the comparison. It also
* concept of a set of functions that can be selected for each side of the comparison. It also
* maintains the selected function for each side. The default model simply has a single set
* of functions that can be selected for either side of the comparison. The model supports the
* concept of different sets of functions for each and even the idea the the active function for
* concept of different sets of functions for each and even the idea that the active function for
* one side can determine the set of functions for the other side. See
* {@link MatchedFunctionComparisonModel}.
* <p>
* This model is intended to be used by the the {@link FunctionComparisonService} to generate
* This model is intended to be used by the {@link FunctionComparisonService} to generate
* a function comparison display window.
* <p>
* Note: Subscribers may register to be informed of changes to this model via the

View File

@ -72,7 +72,7 @@ public abstract class ByteMatcher {
/**
* Returns true if this byte matcher is valid and can be used to perform a search. If false,
* the the description will return a an error message explaining why this byte matcher is
* the description will return an error message explaining why this byte matcher is
* invalid.
* @return true if this byte matcher is valid and can be used to perform a search.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -30,7 +30,7 @@ import ghidra.program.util.DefaultLanguageService;
/**
* Value class for LanguageCompilerSpecPair types. The component for this class is a
* TextField with a browse button for bringing up a language/compiler chooser. It supports
* the concept of no value when the text field is empty. If it is not empty, the the contents
* the concept of no value when the text field is empty. If it is not empty, the contents
* must be one of the known valid language/compiler spec pairs.
* <P>
* This class and other subclasses of {@link AbstractValue} are part of a subsystem for easily

View File

@ -188,7 +188,7 @@ class InfoPanel extends JPanel {
}
/**
* Read the version information from the the resource file.
* Read the version information from the resource file.
*/
private void getAboutInfo() {

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -177,7 +177,7 @@ public class BatchInfo {
* <p>
* @param fsrl {@link FSRL} of the file to add.
* @param taskMonitor {@link TaskMonitor} to watch and update with progress.
* @return boolean true if something in the the file produced something to import.
* @return boolean true if something in the file produced something to import.
* @throws IOException if io error when reading files.
* @throws CancelledException if user cancels.
*/
@ -210,7 +210,7 @@ public class BatchInfo {
* <p>
* @param fsrl {@link FSRL} of the file to probe and process
* @param taskMonitor {@link TaskMonitor} to watch and update.
* @return boolean true if something in the the file produced something to import.
* @return boolean true if something in the file produced something to import.
* @throws IOException if io error when reading files.
* @throws CancelledException if user cancels.
*/

View File

@ -358,7 +358,7 @@ public class FlatProgramAPI {
* NOTE: if more than block exists with the same name, the first
* block with that name will be returned.
* @param name the name of the requested block
* @return the the memory block with the specified name
* @return the memory block with the specified name
*/
public final MemoryBlock getMemoryBlock(String name) {
return currentProgram.getMemory().getBlock(name);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -97,7 +97,7 @@ public interface ContextEvaluator {
boolean evaluateDestination(VarnodeContext context, Instruction instruction);
/**
* Evaluate the the target of a return
* Evaluate the target of a return
*
* @param retVN varnode that is the target of a RETURN pcodeop
* @param context current register context

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -187,7 +187,7 @@ public abstract class AbstractGhidraHeadedIntegrationTest
/**
* Triggers a browser click at the current cursor location. Thus, this method should be
* called only after the browser location is set the the desired field.
* called only after the browser location is set to the desired field.
*
* @param codeBrowser the CodeBrowserPlugin
* @param clickCount the click count

View File

@ -532,7 +532,7 @@ public class InstructionSearchTest extends AbstractGhidraHeadedIntegrationTest {
}
/**
* Tests the the hex view button correctly switches the preview table to hex, and that
* Tests that the hex view button correctly switches the preview table to hex, and that
* the hex is formatted correctly when masking.
*/
@Test

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -297,7 +297,7 @@ public class LocationReferencesPlugin3Test extends AbstractLocationReferencesTes
public void testDyamicData_AddressField() throws Exception {
//
// Dynamic data types should show all references to the the outermost data, including
// Dynamic data types should show all references to the outermost data, including
// offcut.
//
@ -336,7 +336,7 @@ public class LocationReferencesPlugin3Test extends AbstractLocationReferencesTes
public void testDyamicData_MnemonicField() throws Exception {
//
// Dynamic data types should show all references to the the outermost data, including
// Dynamic data types should show all references to the outermost data, including
// offcut. Also, since we are searching from the mnemonic, we find all data references.
//

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -294,7 +294,7 @@ public class ShowInstructionInfoPluginTest extends AbstractGhidraHeadedIntegrati
@Test
public void testUpdates() throws Exception {
// display a provider, clear the instruction,
// make sure the the provider is cleared, etc.
// make sure that the provider is cleared, etc.
changeLocationToAddress("01000000");

View File

@ -679,7 +679,7 @@ public class ProgramTreePlugin2Test extends AbstractProgramTreePluginTest {
public void testCutFolderCollapsed2() throws Exception {
// cut folder is collapsed,
// destination folder is collapsed.
// Paste the the folder; the destination folder
// Paste the folder; the destination folder
// remains collapsed
ProgramNode stringsNode = root.getChild("Strings");
visitNode(stringsNode);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -713,22 +713,22 @@ public class GhidraScriptAskMethodsTest extends AbstractGhidraHeadedIntegrationT
*/
/*
* No test for 'askYesNo()" because it does not use either the the last-selected value or
* No test for 'askYesNo()" because it does not use either the last-selected value or
* a .properties file value to pre-populate the user choice in the GUI.
*/
/*
* No test for 'askProjectFolder()" because it does not use either the the last-selected value
* No test for 'askProjectFolder()" because it does not use either the last-selected value
* or a .properties file value to pre-populate the user choice in the GUI.
*/
/*
* No test for 'askProgram()" because it does not use either the the last-selected value or
* No test for 'askProgram()" because it does not use either the last-selected value or
* a .properties file value to pre-populate the user choice in the GUI.
*/
/*
* No test for 'askDomainFile()" because it does not use either the the last-selected value or
* No test for 'askDomainFile()" because it does not use either the last-selected value or
* a .properties file value to pre-populate the user choice in the GUI.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -318,7 +318,7 @@ public class LabelFieldFactoryTest extends AbstractGhidraHeadedIntegrationTest {
public void testOffcutStringWhenOffcutIsOnTheNullTerminatingCharacter() throws Exception {
//
// We can have a scenario where there is an offcut into a string where the offcut index
// is the the last byte, which is the null terminator, which we do not render
// is the last byte, which is the null terminator, which we do not render
//
env.close(program);
program = buildSegmentedProgram();

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -215,7 +215,7 @@ public class FakeSharedProject {
}
/**
* Opens the the program by the given name. The path can be a simple name or a relative or
* Opens the program by the given name. The path can be a simple name or a relative or
* absolute path to the file within the project.
*
* @param filePath the path to the file to open

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -51,7 +51,7 @@ public class InstructionSequence {
}
/**
* Returns all the the stored disassembly for an instruction sequence
* Returns all of the stored disassembly for an instruction sequence
* @param inOrder if true, the instructions are displayed in order. If false they are reversed.
* @return the disassembly as a string
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -27,7 +27,7 @@ public class ProjectedSequenceInfo {
/**
* Create a new {@link ProjectedSequenceInfo} object
* @param sequenceIndex index of a sequence in the database
* @param projectedIndex index in the sequence of the first character after the the projection prefix
* @param projectedIndex index in the sequence of the first character after the projection prefix
*/
public ProjectedSequenceInfo(int sequenceIndex, int projectedIndex) {
this.sequenceIndex = sequenceIndex;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -30,7 +30,7 @@ import ghidra.util.ColorUtils;
/**
* Fields for the ByteViewer. This class extends the SimpleTextField to include
* a fieldOffset which corresponds to the column of the the fieldFactory that
* a fieldOffset which corresponds to the column of the fieldFactory that
* generated it.
*/
public class ByteField extends SimpleTextField {

View File

@ -411,8 +411,8 @@ public class ByteViewerComponent extends FieldPanel implements FieldMouseListene
}
/**
* Get the the color of unsaved byte changes
* @return the the color of unsaved byte changes
* Get the color of unsaved byte changes
* @return the color of unsaved byte changes
*/
Color getEditColor() {
return editColor;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -25,7 +25,7 @@ import ghidra.program.model.address.Address;
import ghidra.program.util.ProgramLocation;
/**
* Implementation for a snapshot of the the byte viewer's current view.
* Implementation for a snapshot of the byte viewer's current view.
*/
class ByteViewerState {

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -53,7 +53,7 @@ public class ByteBlockInfo {
}
/**
* The the column within the UI byte field
* The column within the UI byte field
* @return the column
*/
public int getColumn() {

View File

@ -3590,7 +3590,7 @@ public class RTTIGccClassRecoverer extends RTTIClassRecoverer {
* Method to add parents to the given class
*
* @param recoveredClass the given class
* @param typeinfo the the GccTypeinfo object for this class
* @param typeinfo the GccTypeinfo object for this class
* @return list of parents for the given class
* @throws CancelledException if cancelled
*/

View File

@ -2443,7 +2443,7 @@ public class RecoveredClassHelper {
/**
* Method to return the total number of vbase destructors in the given list of classes
* @param recoveredClasses the list of classes
* @return the the total number of vbase destructors in the given list of classes
* @return the total number of vbase destructors in the given list of classes
* @throws CancelledException if cancelled
*/
public int getNumberOfVBaseFunctions(List<RecoveredClass> recoveredClasses)

View File

@ -5174,7 +5174,7 @@
<para>
Decompilation is triggered again to incorporate the
new name, causing local variable declarations to be reordered and line breaks to
change, but otherwise the the output is unaffected.
change, but otherwise the output is unaffected.
</para>
<para>
Local variables and parameters presented by the Decompiler may be invented on-the-fly

View File

@ -3801,7 +3801,7 @@ select <emphasis>s</emphasis> registers. As is described in
<xref linkend="sleigh_local_change"/>, these assignments by themselves
cause only a local context change. However, the
subsequent <emphasis role="bold">globalset</emphasis> directives make
the change persist outside of the the instructions
the change persist outside of the instructions
themselves. The <emphasis role="bold">globalset</emphasis> directive
takes two parameters, the second being the particular context variable
being changed. The first parameter indicates the first address where

View File

@ -1375,7 +1375,7 @@
<p>
Decompilation is triggered again to incorporate the
new name, causing local variable declarations to be reordered and line breaks to
change, but otherwise the the output is unaffected.
change, but otherwise the output is unaffected.
</p>
<p>
Local variables and parameters presented by the Decompiler may be invented on-the-fly

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -110,7 +110,7 @@ public class UserHighlights {
void addSecondaryHighlighter(Function function, DecompilerHighlighter highlighter) {
// Note: this highlighter has likely already been added the the this class, but has not
// Note: this highlighter has likely already been added to this class, but has not
// yet been bound to the given function.
secondaryHighlightersByFunction.get(function).add(highlighter);
secondaryHighlighters.add(highlighter);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -415,7 +415,7 @@ public class FunctionGraphGroupVertices2Test extends AbstractFunctionGraphTest {
// Test the case that grouping the entry node will create a group that has incoming
// edges. In this case, there is no source node in the graph. This will cause an
// exception if the code does not create a fake source node before passing the graph
// the the algorithm for calculating dominance.
// to the algorithm for calculating dominance.
//
create12345GraphWithTransaction();

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -183,7 +183,7 @@ public class FidDB implements Closeable {
}
/**
* Indicates the the user of this FidDB no longer needs it open. This will decrement the
* Indicates that the user of this FidDB no longer needs it open. This will decrement the
* "open count" and if the "open count is 0, the database will be closed.
*/
@Override

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -331,7 +331,7 @@ public class DefaultGraphRenderer implements GraphRenderer {
label.setText(escapedText);
Dimension labelSize = label.getPreferredSize();
// make sure the the vertexName doesn't make the icon ridiculously big
// make sure that the vertexName doesn't make the icon ridiculously big
int width = Math.min(labelSize.width, MAX_WIDTH);
int height = Math.min(labelSize.height, MAX_HEIGHT);
label.setSize(width, height);

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -89,7 +89,7 @@ class JythonPluginInputThread extends Thread {
}
/**
* Causes the the background thread's run() loop to exit.
* Causes the background thread's run() loop to exit.
* <p>
* Causes background thread's exit by closing the inputstream it is looping on.
*/

View File

@ -544,7 +544,7 @@ public class TypeDescriptorModel extends AbstractCreateDataTypeModel {
}
/**
* Whether or not the memory at the the model's address appears to be a valid location for a
* Whether or not the memory at the model's address appears to be a valid location for a
* Type Descriptor data type and that its virtual function table address matches the specified
* address.
* @param expectedVFTableAddress the virtual function table address that the model is expected

View File

@ -2609,7 +2609,7 @@ public class MDMangBaseTest extends AbstractGenericTest {
}
//This test seems to dictate that a function pointer should be elaborated internal to CVMod, where the based5 will eliminate all of the function context.
// It also seems to indicate that the "int" portion would be the referred-to type and the rest of the function spec would be part of the the function info.
// It also seems to indicate that the "int" portion would be the referred-to type and the rest of the function spec would be part of the function info.
// Other information at one time, led me to believe that the return type of a function is special... need to rekinkdle those thoughts, but think related to nested
// functions, such as function returning a function pointer..
@Category(MDMangFailingTestCategory.class)

View File

@ -29,7 +29,7 @@ import ghidra.util.exception.CancelledException;
import ghidra.util.task.TaskMonitor;
/**
* This class represents the the Windows PDB file. This class is only suitable for reading; not
* This class represents the Windows PDB file. This class is only suitable for reading; not
* for writing or modifying a PDB.
* <P>
* We have intended to implement according to the Microsoft PDB API (source); see the API for

View File

@ -40,7 +40,7 @@ public abstract class PdbDebugInfo {
/**
* These are Section Contribution Versions (SCV) 6.00 and 14.00. We are building to the MSFT
* API. They have chosen to mix in some magic along the way for these--perhaps to ensure that
* the the value will be a large unsigned 32-bit or a negative 32-bit. We store the value
* the value will be a large unsigned 32-bit or a negative 32-bit. We store the value
* in a java long, so that we can maintain the signed-ness of the values, if necessary. MSFT
* is probably trying to prevent these values from being mimicked by data in the versions
* prior to v 6.00.

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -25,7 +25,7 @@ import ghidra.util.exception.CancelledException;
import ghidra.util.task.TaskMonitor;
/**
* This class represents the the Multi-Stream Format File used for Windows PDB files.
* This class represents the Multi-Stream Format File used for Windows PDB files.
* We have intended to implement to the Microsoft PDB API (source); see the API for truth.
* <P>
* Derived classes represents the real formats. The file format represents a kind of
@ -271,8 +271,8 @@ public abstract class AbstractMsf implements Msf {
}
/**
* Returns the the mask used for masking off the upper bits of a value use to get the
* mod-page-size of the value (pageSizes must be power of two for this to work)
* Returns the mask used for masking off the upper bits of a value used to get the
* mod-page-size of the value (pageSizes must be a power of two for this to work)
* @return the mask
*/
@Override

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -24,7 +24,7 @@ import ghidra.util.exception.CancelledException;
import ghidra.util.task.TaskMonitor;
/**
* This class represents the the Multi-Stream Format File used for Windows PDB files.
* This class represents the Multi-Stream Format File used for Windows PDB files.
* We have intended to implement to the Microsoft PDB API (source); see the API for truth.
* <P>
* Derived classes represents the real formats. The file format represents a kind of
@ -226,8 +226,8 @@ public interface Msf extends AutoCloseable {
int getLog2PageSize();
/**
* Returns the the mask used for masking off the upper bits of a value use to get the
* mod-page-size of the value (pageSizes must be power of two for this to work)
* Returns the mask used for masking off the upper bits of a value used to get the
* mod-page-size of the value (pageSizes must be a power of two for this to work)
* @return the mask
*/
int getPageSizeModMask();

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -24,7 +24,7 @@ import ghidra.app.util.bin.format.pdb2.pdbreader.PdbException;
import ghidra.util.exception.CancelledException;
/**
* This class represents the the Stream Table used by the Multi-Stream Format File within
* This class represents the Stream Table used by the Multi-Stream Format File within
* Windows PDB files.
* We have intended to implement to the Microsoft PDB API (source); see the API for truth.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -127,7 +127,7 @@ public class PublicSymbolInternals32 extends AbstractSymbolInternals {
}
/**
* Tells whether the the code is managed.
* Tells whether the code is managed.
* @return True if the code is managed.
*/
public boolean isManaged() {

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -121,7 +121,7 @@ public class ModifierExMsType extends AbstractMsType {
}
/**
* Tells whether the the {@link Modifier} is present.
* Tells whether the {@link Modifier} is present.
* @param modifier the {@link Modifier} to check.
* @return True if the {@link Modifier} is present.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -199,8 +199,8 @@ public class MsProperty extends AbstractParsableItem {
}
/**
* Tells whether the the definition is scoped.
* @return True if there definition is scoped.
* Tells whether the definition is scoped.
* @return True if the definition is scoped.
*/
public boolean hasScopedDefinition() {
return scopedDefinition;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -45,7 +45,7 @@ public class VtShapeMsType extends AbstractMsType {
int byteVal = 0;
int value;
VtShapeDescriptorMsProperty descriptor;
// It seems that the upper nibble of the the byte is first and the lower nibble is
// It seems that the upper nibble of the byte is first and the lower nibble is
// second; that is why we process as we do below (shifting for the first and masking
// for the second).
for (int i = 0; i < count / 2; i++) {
@ -88,7 +88,7 @@ public class VtShapeMsType extends AbstractMsType {
}
/**
* Tells whether the the {@link VtShapeDescriptorMsProperty} is present.
* Tells whether the {@link VtShapeDescriptorMsProperty} is present.
* @param descriptor the {@link VtShapeDescriptorMsProperty} to check.
* @return True if the {@link VtShapeDescriptorMsProperty} is present.
*/

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -125,7 +125,7 @@ public class LabelSymbolApplier extends MsSymbolApplier
// how function symbols are applied. Perhaps we need to apply all GPROC symbols before
// we apply their internals (frames, local vars, labels, blocks) because some labels (here)
// are getting applied and becoming primary (because some have addresses that are located
// outside of the the address range of their GPROC, and will prevent another GPROC at the
// outside of the address range of their GPROC, and will prevent another GPROC at the
// same address as the label from becoming primary (e.g., $LN7 of cn3 at a750).
applicator.createSymbol(symbolAddress, label, false);
}

View File

@ -113,7 +113,7 @@ public class HttpSymbolServer extends AbstractSymbolServer implements MutableTru
* Creates a new instance of a HttpSymbolServer.
*
* @param serverURI URI / URL of the symbol server
* @param isTrusted flag, if true the the http server can be trusted when querying and downloading
* @param isTrusted flag, if true the http server can be trusted when querying and downloading
*/
public HttpSymbolServer(URI serverURI, boolean isTrusted) {
String path = serverURI.getPath();

View File

@ -241,7 +241,7 @@
<TR>
<TD nowrap><b>Symbol Correlator Minimum Symbol Length</b></TD>
<TD>This option sets the the minimum symbol name length used to find function
<TD>This option sets the minimum symbol name length used to find function
and data matches when running the Exact Symbol Correlator in Auto Version
Tracking.
</TD>

View File

@ -152,7 +152,7 @@
those already at the address in the destination program. Sets the
primary label in the destination program to whatever label was the
primary one in the source program.</li>
<li><b>Replace All</b> - Replaces all the labels at the the address in
<li><b>Replace All</b> - Replaces all the labels at the address in
the destination program with those from the source program.</li>
<li><b>Replace Default Only</b> - Only apply labels from the
source program to the destination program when the label

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -49,7 +49,7 @@ public class CreateVersionTrackingSessionAction extends DockingAction {
int result =
OptionDialog.showYesNoDialog(controller.getTool().getToolFrame(),
"Create New Session",
"This will close the the current session. Do you want to continue?");
"This will close the current session. Do you want to continue?");
if (result != OptionDialog.YES_OPTION) {
return;

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -536,7 +536,7 @@ public class VTAutoVersionTrackingTest extends AbstractGhidraHeadedIntegrationTe
uniqueDestAddrs.add(addr("0x415200", destinationProgram));
// The unique ones should be accepted matches
// The the non-matching unique ones should be blocked from each other
// The non-matching unique ones should be blocked from each other
for (int i = 0; i < uniqueSourceAddrs.size(); i++) {
for (int j = 0; j < uniqueDestAddrs.size(); j++) {
// the ones at the same index in the lists should be the accepted matches

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -411,7 +411,7 @@ public class DBRecord implements Comparable<DBRecord> {
/**
* Set the field to a null state. For a non-sparse fixed-length column field this will
* set the the value to zero and the null state will not be persisted when stored.
* set the value to zero and the null state will not be persisted when stored.
* @param colIndex field index
* @throws IndexOutOfBoundsException if invalid columnIndex is specified
*/

View File

@ -440,7 +440,7 @@ public abstract class Field implements Comparable<Field> {
/**
* Performs a fast in-place comparison of this field value with another
* field value stored within the specified buffer at the the specified offset.
* field value stored within the specified buffer at the specified offset.
* NOTE: This method will treat all null primitives as 0 although is not intended
* to support such use.
* @param buffer data buffer

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -1062,7 +1062,7 @@ public class LocalBufferFile implements BufferFile {
* @param in input block stream
* @param out output block stream
* @param monitor progress and cancel monitor
* @throws CancelledException the the operation is cancelled
* @throws CancelledException the operation is cancelled
* @throws IOException if an I/O error occurs
*/
static void completeBlockStreamTransfer(InputBlockStream in, OutputBlockStream out,

View File

@ -54,7 +54,7 @@
<LI>Replace hard-coded values with a level of indirection for colors, fonts, and icons
using property names/IDs
</LI>
<LI>Create the concept of a theme that allows for the the property values to change
<LI>Create the concept of a theme that allows for the property values to change
as a group and along with the current Look and Feel in use
</LI>
<LI>Create an API that allows for the introduction of system-level properties that can

View File

@ -90,7 +90,7 @@
revert back to its previous value.</P>
<P>If any values have been changed, the <B>Save</B> button will become enabled, allowing you to save
any changes you have made. (Pressing the <B>Dismiss</B> button will also give the the option to
any changes you have made. (Pressing the <B>Dismiss</B> button will also give the option to
save.) When saving, if the
current theme is a built-in theme, you will first have to supply a new theme name. If the
current theme is a not a built-in theme, you will have the option to overwrite the existing

View File

@ -528,8 +528,8 @@ public class DockingWindowManager implements PropertyChangeListener, Placeholder
}
/**
* Adds a new component (vial the provider) to be managed by this docking window manager. The
* component will be initially shown or hidden based on the the "show" parameter.
* Adds a new component (via the provider) to be managed by this docking window manager. The
* component will be initially shown or hidden based on the "show" parameter.
*
* @param provider the component provider.
* @param show indicates whether or not the component should be initially shown.

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -175,7 +175,7 @@ public class WindowActionManager {
* Returns the set of actions for this window.
*
* <p>
* Note this returns the the original passed-in actions and not the proxy actions that the
* Note this returns the original passed-in actions and not the proxy actions that the
* window uses.
*
* @return the set of actions for this window

View File

@ -202,7 +202,7 @@ public abstract class DockingAction implements DockingActionIf {
* If the client wants the action on all windows, then they can call {@link #shouldAddToAllWindows}
* <P>
* If the client wants the action to be on a window only when the window can produce
* a certain context type, the the client should call
* a certain context type, then the client should call
* {@link #addToWindowWhen(Class)}
* <P>
* Otherwise, by default, the action will only be on the main window.
@ -253,7 +253,7 @@ public abstract class DockingAction implements DockingActionIf {
}
/**
* Signals the the help system that this action does not need a help entry. Some actions
* Signals the help system that this action does not need a help entry. Some actions
* are so obvious that they do not require help, such as an action that renames a file.
* <p>
* The method should be sparsely used, as most actions should provide help.
@ -689,7 +689,7 @@ public abstract class DockingAction implements DockingActionIf {
/**
* Sets the ActionContext class for when this action should be added to a window
* <P>
* If this is set, the the action will only be added to windows that have providers
* If this is set, then the action will only be added to windows that have providers
* that can produce an ActionContext that is appropriate for this action.
* <P>
* @param addToWindowContextClass the ActionContext class required to be producible by a

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -28,7 +28,7 @@ import docking.menu.MultiActionDockingAction;
public class MultiActionBuilder
extends AbstractActionBuilder<MultiActionDockingAction, ActionContext, MultiActionBuilder> {
/**
* List of actions for the the MultActionDockingAction
* List of actions for the MultiActionDockingAction
*/
private List<DockingActionIf> actionList = Collections.emptyList();

Some files were not shown because too many files have changed in this diff Show More