PR comment

This commit is contained in:
Gjergj Sheldija 2024-09-04 08:16:03 +02:00
parent 973ab9e56f
commit 51ad87c715
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ public class LanguageUtils {
}
// Create a copy of the children collection before iterating
List<Element> childrenCopy = new ArrayList<>(element.getChildren());
List<Element> childrenCopy = List.copyOf(element.getChildren());
for (Element c : childrenCopy) {
if (!c.getName().equals("designation")) {
t = t + importFromTranslations(element, c, translations, usedUnits);