Quanah Gibson-Mount pushed to branch master at openldap / JDBC LDAP
Commits: f200ebd2 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Set javac source="8".
- - - - - 578fba58 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Delete unused class Compare.
JDK 1.5 removed the String.compareTo(Object) method so this class won't compile anymore, but luckily it's unused and can simply be deleted.
- - - - - fa6c4c44 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Replace use of 'enum' as an identifier.
Java 1.5 made 'enum' a keyword, which may not be used as an identifier.
- - - - - 339120d5 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Replace use of deprecated class StringBufferInputStream.
JDK 1.1 deprecated class StringBufferInputStream because it does not properly convert characters into bytes.
- - - - - f494f56d by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Replace call to deprecated LDAPConnection.bind() method.
JLDAP Sep_ndk_2003 deprecated LDAPConnection.bind(int, String, String) in favour of LDAPConnection.bind(int, String, byte[]).
- - - - - 70b87f22 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Replace call to deprecated File.toURL() method.
JDK 6 deprecated File.toURL() in favour of File.toURI().toURL() because it does not automatically escape characters that are illegal in URLs.
- - - - - 44c3341b by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Add @Deprecated annotations to deprecated interface methods.
JDK 1.5 deprecated these interface methods so they should be annotated as deprecated also in this implementation of that interface.
- - - - - 25e88de0 by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Use full package name to disambiguate ambiguous reference.
JDK 8 introduced java.util.Base64 which has the same class name as com.novell.ldap.util.Base64 which this code calls.
- - - - - 762419dc by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Add java.sql interface methods introduced by JDK 6.
- - - - - 8432fbfe by Fredrik Roubert at 2023-02-18T18:27:29+01:00 ITS#4501 Add java.sql interface methods introduced by JDK 7.
- - - - -
20 changed files:
- build.xml - src/com/octetstring/jdbcLdap/browser/JdbcLdapBrowser.java - src/com/octetstring/jdbcLdap/browser/Rebind.java - src/com/octetstring/jdbcLdap/jndi/Delete.java - src/com/octetstring/jdbcLdap/jndi/JndiLdapConnection.java - src/com/octetstring/jdbcLdap/jndi/UnpackResults.java - src/com/octetstring/jdbcLdap/jndi/Update.java - src/com/octetstring/jdbcLdap/jndi/UpdateEntry.java - src/com/octetstring/jdbcLdap/junit/sql/TestResultSet.java - src/com/octetstring/jdbcLdap/junit/sql/TestSelectRetrieve.java - src/com/octetstring/jdbcLdap/junit/sql/TestUnpack.java - src/com/octetstring/jdbcLdap/sql/JdbcLdapDBMetaData.java - src/com/octetstring/jdbcLdap/sql/JdbcLdapDriver.java - src/com/octetstring/jdbcLdap/sql/JdbcLdapMetaData.java - src/com/octetstring/jdbcLdap/sql/JdbcLdapPreparedStatement.java - src/com/octetstring/jdbcLdap/sql/JdbcLdapStatement.java - src/com/octetstring/jdbcLdap/sql/LdapResultSet.java - src/com/octetstring/jdbcLdap/util/LDIF.java - src/com/octetstring/jdbcLdap/util/ObjRS.java - src/com/octetstring/jdbcLdap/util/RSMetaData.java
View it on GitLab: https://git.openldap.org/openldap/jdbcldap/-/compare/203751c3cf79fe909171843...