diff --git a/Ghidra/Features/Base/ghidra_scripts/AddSingleReferenceInSwitchTable.java b/Ghidra/Features/Base/ghidra_scripts/AddSingleReferenceInSwitchTable.java index 09fa1a8a15..dad18aa347 100644 --- a/Ghidra/Features/Base/ghidra_scripts/AddSingleReferenceInSwitchTable.java +++ b/Ghidra/Features/Base/ghidra_scripts/AddSingleReferenceInSwitchTable.java @@ -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. */ -//With a user-inputed base address, this script will add a reference on the current switch table entry to corresponding code +//With a user-input base address, this script will add a reference on the current switch table entry to corresponding code //Make sure your table entry is defined data (db,dw,etc). //@category ARM diff --git a/Ghidra/Features/Base/ghidra_scripts/AskValuesExampleScript.java b/Ghidra/Features/Base/ghidra_scripts/AskValuesExampleScript.java index f6d24e929a..6bd6778584 100644 --- a/Ghidra/Features/Base/ghidra_scripts/AskValuesExampleScript.java +++ b/Ghidra/Features/Base/ghidra_scripts/AskValuesExampleScript.java @@ -4,16 +4,16 @@ * 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. */ -// Example script for showing how to use the "AskValues" script method for inputing multiple values +// Example script for showing how to use the "AskValues" script method for inputting multiple values // @category Examples import ghidra.app.script.GhidraScript; import ghidra.features.base.values.GhidraValuesMap; diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/FloatingPointTextField.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/FloatingPointTextField.java index 2d317a50bd..68a9913db6 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/FloatingPointTextField.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/FloatingPointTextField.java @@ -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 javax.swing.JTextField; import javax.swing.text.*; /** - * A simple text field for inputing floating point numbers. The field is continuously validated so + * A simple text field for inputting floating point numbers. The field is continuously validated so * that only valid characters and values can be entered. If the text is blank or contains only "-", * ".", or "-.", the value is considered to be 0. You can optionally set a min and max value. In * order for the continuous validation to work, the max must be a non-negative number and the min @@ -41,7 +41,8 @@ public class FloatingPointTextField extends JTextField { /** * Constructs a new FloatingPointTextField initialized with the given value. - * @param columns the number of columns for determining the preferred width + * @param columns the number of columns for determining the preferred width + * @param initialValue the initial value */ public FloatingPointTextField(int columns, double initialValue) { this(columns);