HashMap attrs = new HashMap();
Map<String, String> attrs = new HashMap<String, String>();
    private void updateZimbraMemberOf(String member, String groupId, boolean add) throws ServiceException {        if (groupId == null) return;        Provisioning prov = Provisioning.getInstance();        NamedEntry entry = prov.getAccountByName(member);        if (entry == null){            DistributionList dl = prov.getDistributionListByName(member);            if (dl == null || !dl.isSecurityGroup()) return;            entry = dl;        }        if (add) {            if (!inMemberOf(entry, groupId)) {                HashMap attrs = new HashMap();                attrs.put("+"+Provisioning.A_zimbraMemberOf, groupId);                entry.modifyAttrs(attrs);            }        } else {            if (inMemberOf(entry, groupId)) {                HashMap attrs = new HashMap();                attrs.put("-"+Provisioning.A_zimbraMemberOf, groupId);                entry.modifyAttrs(attrs);            }        }    }