directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Sand" <rs...@idfconnect.com>
Subject RE: minor error on "5 minute example" page
Date Wed, 24 Jul 2013 19:21:07 GMT
Sorry for sending to the users list instead of the api list.

-----Original Message-----
From: Richard Sand [mailto:rsand@idfconnect.com] 
Sent: Wednesday, July 24, 2013 2:06 PM
To: users@directory.apache.org
Subject: minor error on "5 minute example" page

The "5 minute example" page is incorrect on how to create an LdapConnection, since that is
an interface.

Not trying to nitpick, but it's probably worth fixing now - just that whole "first impression"
notion...

The example:

LdapConnection connection = new LdapConnection( "localhost", 389 );

Should instead read:

LdapConnection connection = new LdapNetworkConnection( "localhost", 389 );

Best regards,

Richard





Mime
View raw message