diff --git a/src/docs/asciidoc/index.adoc b/src/docs/asciidoc/index.adoc index 6eac6764..4ea50f8e 100644 --- a/src/docs/asciidoc/index.adoc +++ b/src/docs/asciidoc/index.adoc @@ -364,7 +364,7 @@ public class PersonRepoImpl implements PersonRepo { public String mapFromAttributes(Attributes attrs) throws NamingException { - return attrs.get("cn").get(); + return (String) attrs.get("cn").get(); } }); } @@ -2674,4 +2674,4 @@ Another way to work against an embedded ldap server is using `org.springframewor ---- -Also, `org.springframework.ldap.test.unboundid.LdapTestUtils` provide methods to work with embedded ldap server programmatically. \ No newline at end of file +Also, `org.springframework.ldap.test.unboundid.LdapTestUtils` provide methods to work with embedded ldap server programmatically.