You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2017/11/11 09:50:50 UTC
svn commit: r1814930 -
/directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext
Author: elecharny
Date: Sat Nov 11 09:50:50 2017
New Revision: 1814930
URL: http://svn.apache.org/viewvc?rev=1814930&view=rev
Log:
Applied patches provided by jarmod (DIR-326)
Modified:
directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext
Modified: directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext?rev=1814930&r1=1814929&r2=1814930&view=diff
==============================================================================
--- directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext (original)
+++ directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext Sat Nov 11 09:50:50 2017
@@ -171,10 +171,10 @@ Searching usually contains a lot of boil
:::Java
// typically mappers are reused, so define a static member
- private static final EntryMapper muppetEntryMapper =
+ private static final EntryMapper<Muppet> muppetEntryMapper =
new EntryMapper<Muppet>() {
@Override
- public String map( Entry entry ) throws LdapException {
+ public Muppet map( Entry entry ) throws LdapException {
return new Muppet.Builder()
.setId( entry.getDn() )
.setFirstName( entry.get( "givenName" ).getString() )