[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: jldap/com/novell/ldap DSMLSearchResults.java DsmlConnection.java LDAPSearchResults.java



Hi Clay,

while building the jldap project with ant build files in J2SDK 1.4.2,
it is giving the following warnings while compiling the newly developed
file "DsmlConnection.java". This is because of deprecated methods being
used in this file. Can you please rectify this and add this file in to
CVS.

Below attached the trace.

==============  Start of trace ====================>>


    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:230:
warning: java.
io.StringBufferInputStream in java.io has been deprecated
    [javac]                     StringBufferInputStream in = new
StringBufferInputStream(out.toStr
ing());
    [javac]                         ^
    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:230:
warning: java.
io.StringBufferInputStream in java.io has been deprecated
    [javac]                     StringBufferInputStream in = new
StringBufferInputStream(out.toStr
ing());
    [javac]                                                          ^
    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:347:
warning: bind(
int,java.lang.String,java.lang.String,com.novell.ldap.LDAPConstraints)
in com.novell.ldap.LDAPConn
ection has been deprecated
    [javac]     public void bind(int arg0, String binddn, String pass,
LDAPConstraints arg3)
    [javac]                     ^
    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:355:
warning: bind(
int,java.lang.String,java.lang.String) in
com.novell.ldap.LDAPConnection has been deprecated
    [javac]     public void bind(int arg0, String binddn, String pass)
throws LDAPException {
    [javac]                     ^
    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:362:
warning: bind(
java.lang.String,java.lang.String,com.novell.ldap.LDAPConstraints) in
com.novell.ldap.LDAPConnecti
on has been deprecated
    [javac]     public void bind(String binddn, String pass,
LDAPConstraints arg2)
    [javac]                     ^
    [javac]
D:\LDAP-SDK-SRC\javaldap\jldap\com\novell\ldap\DsmlConnection.java:418:
warning: bind(
java.lang.String,java.lang.String) in com.novell.ldap.LDAPConnection
has been deprecated
    [javac]     public void bind(String binddn, String password) throws
LDAPException {
    [javac]                     ^
    [javac] 6 warnings

==============  End of trace ====================>>

Regards,
Sudhir


>>> <clayton@OpenLDAP.org> 01/27/05 4:32 AM >>>
Update of /repo/OpenLDAP/pkg/jldap/com/novell/ldap

Modified Files:
	LDAPSearchResults.java  1.67 -> 1.68
Added Files:
	DSMLSearchResults.java  NONE -> 1.1
	DsmlConnection.java  NONE -> 1.1

Log Message:
Improvements and bug fixes for JLDAP:

* ITS 3425 JLDAP - Use DSMLv2 as you would LDAP 
	A DSMLv2 Connection may be assigned to an LDAPConnection and
synchronous operations being supported

* ITS 3436 JLDAP - DSMLWriter Improvements
	The writer now generates valid XML.  Quotes are escaped in XML
attributes & un-encodable values are base64'ed

* ITS 3437 JLDAP - DSMLHandler Improvements
	Added support for better error handling

* ITS 3438 JLDAP - DSMLReader enhancements
	1.  InputStream assumes UTF-8
	2.  Support for extracting errors generated by the handler
	3.  Support for determining if resume on error

* ITS 3451 JLDAP - Normalizing RDN does not take escaped characters
into accoun
	Normalized DN's now escape all components

CVS Web URLs:
 
http://www.openldap.org/devel/cvsweb.cgi/com/novell/ldap/?cvsroot=JLDAP

   
http://www.openldap.org/devel/cvsweb.cgi/com/novell/ldap/DSMLSearchResults.java?cvsroot=JLDAP

   
http://www.openldap.org/devel/cvsweb.cgi/com/novell/ldap/DsmlConnection.java?cvsroot=JLDAP

   
http://www.openldap.org/devel/cvsweb.cgi/com/novell/ldap/LDAPSearchResults.java?cvsroot=JLDAP


Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.