Ghidra is a software reverse engineering (SRE) framework
GP-0 fix javadoc errors w/'&' from GP-2999
dev74736820edb84734b6
diff --git a/Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.java b/Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.javaindex 34b07b8695..c54ecc4213 100644--- a/Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.java+++ b/Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.java@@ -235,14 +235,14 @@ public class MenuData {}/**- * Sets the menu item name and the mnemonic, using the first '&' found in the text- * as a marker ("S&ave As").+ * Sets the menu item name and the mnemonic, using the first '&' found in the text+ * as a marker ("S&ave As").* <p>* NOTE: do NOT use this method with strings that contain user-supplied text. Instead, use* {@link #setMenuItemNamePlain(String)}, and then manually {@link #setMnemonic(Character) set}* the mnemonic.*- * @param newMenuItemName the new name for this menu item, with an optional '&' to flag one+ * @param newMenuItemName the new name for this menu item, with an optional '&' to flag one* of the characters of the name as the new mnemonic of this item*/public void setMenuItemName(String newMenuItemName) {@@ -258,9 +258,9 @@ public class MenuData {}/**- * Sets the menu item name, without parsing the name for mnemonics ("&File").+ * Sets the menu item name, without parsing the name for mnemonics ("&File").* <p>- * Use this method instead of {@link #setMenuItemName(String)} when the name may have '&'+ * Use this method instead of {@link #setMenuItemName(String)} when the name may have '&'* characters that need to be preserved, which is typically any user supplied strings.** @param newMenuItemName the new name for this menu item