mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
correct decendant/decendent/descendent in identifiers, errors, and comments
This commit is contained in:
parent
7ddd8665b7
commit
d28b139933
16 changed files with 54 additions and 54 deletions
|
@ -133,7 +133,7 @@ public class ProjectDataPasteAction extends ProjectDataCopyCutBaseAction {
|
|||
return;
|
||||
}
|
||||
|
||||
boolean listChanged = removeDecendantsFromList(list);
|
||||
boolean listChanged = removeDescendantsFromList(list);
|
||||
|
||||
boolean resetClipboard = false;
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
@ -188,7 +188,7 @@ public class ProjectDataPasteAction extends ProjectDataCopyCutBaseAction {
|
|||
* Remove descendant nodes from the list; having the parent node
|
||||
* is enough when folders are getting pasted.
|
||||
*/
|
||||
private boolean removeDecendantsFromList(List<GTreeNode> list) {
|
||||
private boolean removeDescendantsFromList(List<GTreeNode> list) {
|
||||
List<GTreeNode> newList = new ArrayList<>();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
GTreeNode destNode = list.get(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue