correct decendant/decendent/descendent in identifiers, errors, and comments

This commit is contained in:
hippietrail 2024-10-27 12:02:51 +07:00
parent 7ddd8665b7
commit d28b139933
16 changed files with 54 additions and 54 deletions

View file

@ -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);