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

Matthew Swift
13.32.2015 d73dd29ce6a19cd9f81bc4db24d50a5b53f45a3c
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, February 13, 2015 12:32 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, February 13, 2015 12:32 +0100
commitd73dd29ce6a19cd9f81bc4db24d50a5b53f45a3c
tree 9e47bb0686be6e95c2798609dd19f9c364b1e48a tree | zip | gz
parent 33cc22b9d79ac967de2f0e9b15b18d55b798e022 view | diff
OPENDJ-1689: Remove MatchingRule.comparator() and MatchingRuleImpl.comparator()

All matching rules now return a normalized representation which can be compared using the default byte string comparator. Also removed redundant equal length approximate matching rules which were only used for tests and weren't really needed.

Seeing the amount of boilerplate implementation in the server specific matching rules makes we wonder whether we should consider making the various AbstractMatchingRuleImpls public. Nicolas mentioned this when he was migrating the matching rules, and I think that I agree now I've had a closer look.

2 files deleted
15 files modified
415 ■■■■ changed files
opendj-core/clirr-ignored-api-changes.xml 12 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/AVA.java 19 ●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/SortKey.java 12 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/AbstractMatchingRuleImpl.java 9 ●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/EqualLengthApproximateMatchingRuleImpl.java 63 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/MatchingRule.java 21 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/MatchingRuleImpl.java 20 ●●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/schema/OrderingMatchingRuleTest.java 4 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVKeyComparator.java 13 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java 6 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/HistoricalCsnOrderingMatchingRuleImpl.java 35 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/schema/AbstractPasswordEqualityMatchingRuleImpl.java 10 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/types/RDN.java 4 ●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/types/SortKey.java 11 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/SchemaTestMatchingRuleImpl.java 27 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java 18 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/schema/EqualLengthApproximateMatchingRule.java 131 ●●●●● diff | view | raw | blame | history