mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
17.45.2015 4a438e182fd5349dc4a36ca59fc3c3501442f49d
OPENDJ-1666 code cleanup

* org/forgerock/opendj/ldap/spi/LdapPromiseWrapper.java
** Improve consistency of imports

* clirr-ignored-api-changes.xml
** Format file
2 files modified
5 ■■■■■ changed files
opendj-core/clirr-ignored-api-changes.xml 3 ●●●● patch | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/spi/LdapPromiseWrapper.java 2 ●●● patch | view | raw | blame | history
opendj-core/clirr-ignored-api-changes.xml
@@ -435,8 +435,7 @@
    <difference>
        <className>org/forgerock/opendj/ldap/ByteString</className>
        <differenceType>7005</differenceType>
        <method>org.forgerock.opendj.ldap.ByteString valueOf(java.lang.String)
        </method>
    <method>org.forgerock.opendj.ldap.ByteString valueOf(java.lang.String)</method>
        <from>org.forgerock.opendj.ldap.ByteString valueOf(java.lang.String)</from>
        <to>org.forgerock.opendj.ldap.ByteString valueOf(java.lang.CharSequence)</to>
        <justification>Using CharSequence instead of String allows to reduce memory copy.</justification>
opendj-core/src/main/java/org/forgerock/opendj/ldap/spi/LdapPromiseWrapper.java
@@ -134,7 +134,7 @@
    @Override
    // @Checkstyle:ignore
    public <VOUT> LdapPromise<VOUT> then(Function<? super R, VOUT, LdapException> onSuccess) {
        return LdapPromises.wrap(wrappedPromise.then(onSuccess), getRequestID());
        return wrap(wrappedPromise.then(onSuccess), getRequestID());
    }
    @Override