Commit 560261c1 authored by Dave Cridland's avatar Dave Cridland Committed by GitHub

Merge pull request #783 from guusdk/OF-1311_List-property

OF-1311: Don't assume values are Strings.
parents 971a23aa 49c86dbb
......@@ -316,7 +316,12 @@ public class AuditManagerImpl extends BasicModule implements AuditManager, Prope
@Override
public void propertySet(String property, Map<String, Object> params) {
String value = (String) params.get("value");
final Object val = params.get("value");
if (!( val instanceof String ))
{
return;
}
String value = (String) val;
switch (property) {
case "xmpp.audit.active":
enabled = Boolean.parseBoolean(value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment