Skip to content

Commit 6be3662

Browse files
kimsaabyepedersenrwinch
authored andcommitted
Cast is needed or compile will fail
The cast is already there other places in the doc.
1 parent 08e8ae2 commit 6be3662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/asciidoc/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public class PersonRepoImpl implements PersonRepo {
364364
public String mapFromAttributes(Attributes attrs)
365365
throws NamingException {
366366
367-
return attrs.get("cn").get();
367+
return (String) attrs.get("cn").get();
368368
}
369369
});
370370
}
@@ -2674,4 +2674,4 @@ Another way to work against an embedded ldap server is using `org.springframewor
26742674
</bean>
26752675
----
26762676

2677-
Also, `org.springframework.ldap.test.unboundid.LdapTestUtils` provide methods to work with embedded ldap server programmatically.
2677+
Also, `org.springframework.ldap.test.unboundid.LdapTestUtils` provide methods to work with embedded ldap server programmatically.

0 commit comments

Comments
 (0)