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

Matthew Swift
07.44.2012 c5a4d26b295299be18e400ce7bb3f1f11a911bb9
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/LinkedAttribute.java
@@ -64,8 +64,7 @@
        boolean containsAll(final LinkedAttribute attribute, final Collection<?> values) {
            // TODO: could optimize if objects is a LinkedAttribute having the
            // same
            // equality matching rule.
            // same equality matching rule.
            for (final Object value : values) {
                if (!contains(attribute, ByteString.valueOf(value))) {
                    return false;
@@ -171,8 +170,7 @@
        <T> boolean retainAll(final LinkedAttribute attribute, final Collection<T> values,
                final Collection<? super T> missingValues) {
            // TODO: could optimize if objects is a LinkedAttribute having the
            // same
            // equality matching rule.
            // same equality matching rule.
            if (values.isEmpty()) {
                clear(attribute);
                return true;
@@ -324,8 +322,7 @@
        <T> boolean retainAll(final LinkedAttribute attribute, final Collection<T> values,
                final Collection<? super T> missingValues) {
            // TODO: could optimize if objects is a LinkedAttribute having the
            // same
            // equality matching rule.
            // same equality matching rule.
            if (values.isEmpty()) {
                clear(attribute);
                return true;