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

Nicolas Capponi
06.13.2014 1b6107405178902f5d5ce60eb61365cb4b9165e5
Rename ByteSequence.DEFAULT_COMPARATOR to COMPARATOR
2 files modified
6 ■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/ByteSequence.java 4 ●●●● patch | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/AbstractMatchingRuleImpl.java 2 ●●● patch | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/ByteSequence.java
@@ -36,8 +36,8 @@
 */
public interface ByteSequence extends Comparable<ByteSequence> {
    /** A default ByteSequence comparator. */
    public static final Comparator<ByteSequence> DEFAULT_COMPARATOR = new Comparator<ByteSequence>() {
    /** A ByteSequence comparator. */
    public static final Comparator<ByteSequence> COMPARATOR = new Comparator<ByteSequence>() {
        @Override
        public int compare(final ByteSequence o1, final ByteSequence o2) {
            return o1.compareTo(o2);
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/AbstractMatchingRuleImpl.java
@@ -106,7 +106,7 @@
    @Override
    public Comparator<ByteSequence> comparator(final Schema schema) {
        return ByteSequence.DEFAULT_COMPARATOR;
        return ByteSequence.COMPARATOR;
    }
    @Override