PR comment
This commit is contained in:
parent
973ab9e56f
commit
51ad87c715
|
@ -298,7 +298,7 @@ public class LanguageUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a copy of the children collection before iterating
|
// 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) {
|
for (Element c : childrenCopy) {
|
||||||
if (!c.getName().equals("designation")) {
|
if (!c.getName().equals("designation")) {
|
||||||
t = t + importFromTranslations(element, c, translations, usedUnits);
|
t = t + importFromTranslations(element, c, translations, usedUnits);
|
||||||
|
|
Loading…
Reference in New Issue