Speed improvement to the PropertyXMLEncoder

This commit is contained in:
ccancellieri 2011-11-14 16:49:09 +01:00
parent ffa19fefba
commit 3f0d61f86f

View File

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