XMLRPC: Targets of email aliases are lists of strings instead of comma separated string patterns.

This commit is contained in:
Michael Hierweck 2012-07-18 10:28:30 +00:00
parent b0ea76d949
commit ad6f20025c

View File

@ -41,12 +41,6 @@ public class EMailAliasRemote extends AbstractRemote {
alias.setName(name); alias.setName(name);
} }
Object l = map.get("target"); Object l = map.get("target");
if (l instanceof String) {
String target = (String) l;
if (assertNotNull(target)) {
alias.setTarget(target);
}
}
if (l instanceof List<?>) { if (l instanceof List<?>) {
StringBuffer tBuff = new StringBuffer(); StringBuffer tBuff = new StringBuffer();
for (Object o : (List<?>) l) { for (Object o : (List<?>) l) {