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

Matthew Swift
23.03.2013 c98ff3c33fac394c1077a709af7958bc4199da04
refs
author Matthew Swift <matthew.swift@forgerock.com>
Monday, December 23, 2013 13:03 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Monday, December 23, 2013 13:03 +0100
commitc98ff3c33fac394c1077a709af7958bc4199da04
tree d273c3c83ffa9be1c3fd4e63387792521cd39767 tree | zip | gz
parent 8c4cf3b40f27ad043b961512a507a05bf8c1c566 view | diff
Simple fix for OPENDJ-1082: Order attributes according to search request attribute list order

Use LinkedHashMap when filter entries before returning them in search results. This ensures that attributes are mostly returned in the same order that they were requested. I use the word "mostly" because user attributes will still be grouped together ahead of operational attributes.

Verbally reviewed by Ludo.

1 files modified
24 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/types/Entry.java 24 ●●●● diff | view | raw | blame | history