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

neil_a_wilson
23.42.2007 45e07c8b458ddc697d0927333237836c46830c33
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, February 23, 2007 20:42 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, February 23, 2007 20:42 +0100
commit45e07c8b458ddc697d0927333237836c46830c33
tree 7a94144e0422c1337685ec9bbacc87a2d091b783 tree | zip | gz
parent a4b40df77f7bde226616cd132a4e5a31d8983f82 view | diff
Add a new org.opends.server.interop package where we can place source code that
we don't need in the core server but can help other applications interoperate
with OpenDS.

Also, add a class org.opends.server.interop.LazyDN which is a
lazily-initialized version of the org.opends.server.types.DN class. This makes
it possible to have very fast DN processing when you need to create a DN from
a String and the only thing that will be called on that DN is the toString()
method. This commit includes test cases to ensure that the public methods of
the DN and LazyDN classes stay in sync.

OpenDS Issue Number: 1276
4 files added
1 files modified
1259 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/interop/LazyDN.java 380 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/interop/package-info.java 38 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/DN.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/interop/InteropTestCase.java 46 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/interop/LazyDNTestCase.java 785 ●●●●● diff | view | raw | blame | history