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

neil_a_wilson
23.42.2007 e7796c7cc4a2da1e22d62d21b4189e1f7e50b672
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
commite7796c7cc4a2da1e22d62d21b4189e1f7e50b672
tree 12e2139f2a8575fd91016824a8c334a8852668ad tree | zip | gz
parent 88b3513bbf0f7679c2d6fa44b10933a7fba32bc6 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
opends/src/server/org/opends/server/interop/LazyDN.java 380 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/interop/package-info.java 38 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/DN.java 10 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/interop/InteropTestCase.java 46 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/interop/LazyDNTestCase.java 785 ●●●●● diff | view | raw | blame | history