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

coulbeck
12.20.2006 d6a18c0ea456c2f132c2301b37c80fe7e3e3a276
refs
author coulbeck <coulbeck@localhost>
Thursday, October 12, 2006 18:20 +0200
committer coulbeck <coulbeck@localhost>
Thursday, October 12, 2006 18:20 +0200
commitd6a18c0ea456c2f132c2301b37c80fe7e3e3a276
tree 824edf996dbf1bfa19f68e17c64aa6cb64c08b5f tree | zip | gz
parent ca6b1e68be40795ba8dc8f8c9bbf73ee36223f16 view | diff
Fixes for the following issues, reviewed by neil_a_wilson.

Issue 785: attribute options not returned by search of attribute types only
Issue 786: SearchOperation#returnEntry does not always make a copy of the attributes

I have added some new methods so that a common code path can be followed whether the search returns attribute values or not.

Attribute:
public Attribute duplicate(boolean omitValues)

Entry:
public List<Attribute> duplicateUserAttribute(
AttributeType attributeType,
Set<String> options,
boolean omitValues)

public List<Attribute> duplicateOperationalAttribute(
AttributeType attributeType,
Set<String> options,
boolean omitValues)
4 files modified
537 ■■■■■ changed files
opends/src/server/org/opends/server/core/SearchOperation.java 168 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Attribute.java 39 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Entry.java 141 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/SearchOperationTestCase.java 189 ●●●●● diff | view | raw | blame | history