XMLProperties: typto bug

wildfire 2.6.2, org.jivesoftware.util.XMLProperties,

  1. method getChildProperties(String name), line 236 should be:

props.add(((Element)iter.next()).getText());

  1. method getChildrenProperties(String parent), line 354 should be:

childrenNames[i] = ((Element)children.get(i)).getName();

These two methods are not used by any code yet, maybe

Sorry!

childrenNames = ((Element)children.get(i)).getName();

should be:

childrenNames = ((Element)children.get(i)).getText();

So, yet antother copy & paste bug

woloo,

Thanks for the bug report! I filed this as JM-698 and am checking in a fix now.

Regards,

Matt