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

matthew_swift
15.39.2010 1c845e121b14b549308383e431c9040917984d6c
refs
author matthew_swift <matthew_swift@localhost>
Tuesday, June 15, 2010 16:39 +0200
committer matthew_swift <matthew_swift@localhost>
Tuesday, June 15, 2010 16:39 +0200
commit1c845e121b14b549308383e431c9040917984d6c
tree b22788e7682309f4b95ee7620c1cc07110ab8605 tree | zip | gz
parent fbc3a3d34568825357e2243fe2839def666888d4 view | diff
DN normalization enhancements:

* don't expose toNormalizedString since applications should not depend on the normalized representation (and they invariably will mis-use it)

* change normalized form to be big-endian and replace "," and "+" separators with \u0000 and \u0001 respectively in order to provide a more intuitive ordering, especially in the presence of multiple AVAs.
1 files added
6 files modified
809 ■■■■■ changed files
opendj-sdk/sdk/src/org/opends/sdk/AVA.java 36 ●●●● diff | view | raw | blame | history
opendj-sdk/sdk/src/org/opends/sdk/DN.java 224 ●●●● diff | view | raw | blame | history
opendj-sdk/sdk/src/org/opends/sdk/RDN.java 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/sdk/src/org/opends/sdk/schema/DistinguishedNameEqualityMatchingRuleImpl.java 276 ●●●● diff | view | raw | blame | history
opendj-sdk/sdk/tests/unit-tests-testng/src/org/opends/sdk/DNTestCase.java 26 ●●●● diff | view | raw | blame | history
opendj-sdk/sdk/tests/unit-tests-testng/src/org/opends/sdk/RDNTestCase.java 8 ●●●● diff | view | raw | blame | history
opendj-sdk/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/DistinguishedNameEqualityMatchingRuleTest.java 212 ●●●●● diff | view | raw | blame | history