You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Richard Sand <rs...@idfconnect.com> on 2013/07/24 20:06:00 UTC
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
RE: minor error on "5 minute example" page
Posted by Richard Sand <rs...@idfconnect.com>.
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