private static LdapAccount makeLdapAccount(String dn, Attributes attrs, LdapProvisioning prov) throws ServiceException {
private static LdapAccount makeLdapAccount(String dn, Attributes attrs, LdapProvisioning prov) {
    private static LdapAccount makeLdapAccount(String dn,                                               Attributes attrs,                                               LdapProvisioning prov)    throws ServiceException {        LdapAccount account = new LdapAccount(dn, attrs, prov);        if (account.getCalendarUserType().                equals(Account.CalendarUserType.RESOURCE))            return new LdapCalendarResource(account);        else            return account;    }