powered by Jive Software

getProperty or getXMLProperty

in jm 2.2.2

org.jivesoftware.util.JiveGlobals

public static List getXMLProperties(String parent) {

if (xmlProperties == null) {

loadSetupProperties();

}

// jiveHome not loaded?

if (xmlProperties == null) {

return Collections.EMPTY_LIST;

}

String[] propNames = xmlProperties.getChildrenProperties(parent);

List();

for (int i = 0; i < propNames.length; i++) {

String propName = propNames[i];

String value = getProperty(parent + “.” + propName); // i think it shoud be: String value = getXMLProperty(parent + “.” + propName);

if (value != null) {

values.add(value);

}

}

return values;

}

Thanks for the bug report! I filed this as JM-461 and will check a fix in shortly.

Regards,

Matt