From 5b0d88b622de66e528d7be886844f614ad74372d Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Wed, 31 Jan 2007 23:28:53 +0000 Subject: [PATCH] IN PROGRESS - issue LDAP-41: Documentation error 2 http://opensource.atlassian.com/projects/spring/browse/LDAP-41 --- spring-ldap/docs/reference/src/basic.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-ldap/docs/reference/src/basic.xml b/spring-ldap/docs/reference/src/basic.xml index 668216dd..9f38e853 100644 --- a/spring-ldap/docs/reference/src/basic.xml +++ b/spring-ldap/docs/reference/src/basic.xml @@ -53,7 +53,7 @@ public class PersonDaoImpl implements PersonDao { public class PersonDaoImpl implements PersonDao { private LdapTemplate ldapTemplate; ... - private class PersonAttributesMapper implements AttributesMapper() { + private class PersonAttributesMapper implements AttributesMapper { public Object mapFromAttributes(Attributes attrs) throws NamingException { Person person = new Person(); person.setFullName((String)attrs.get("cn").get()); @@ -65,7 +65,7 @@ public class PersonDaoImpl implements PersonDao { public List getAllPersons() { return ldapTemplate.search("", "(objectclass=person)", new PersonAttributesMapper(); + role="bold">new PersonAttributesMapper()); } }