Speed improvement to the PropertyXMLEncoder
This commit is contained in:
parent
ffa19fefba
commit
3f0d61f86f
@ -102,7 +102,7 @@ public class PropertyXMLEncoder extends XmlElement {
|
|||||||
if ((pp = ElementUtils.contains(e, key)) == null)
|
if ((pp = ElementUtils.contains(e, key)) == null)
|
||||||
add(e, key, value);
|
add(e, key, value);
|
||||||
else {
|
else {
|
||||||
ElementUtils.remove(e, pp);
|
ElementUtils.remove(pp, pp);
|
||||||
add(e, key, value);
|
add(e, key, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user