Issue #42 has been updated by Jonathan Clarke.

Target version changed from 1.2 to 1.1.0


----------------------------------------
Bug #42: [API] ISrcService should define getListPivots to return an ordered type
http://tools.lsc-project.org/issues/show/42

Author: Jonathan Clarke
Status: Closed
Priority: Low
Assigned to: 
Category: Core
Target version: 1.1.0


ISrcService defines the method getListPivots() to return a Map, containing a 
set of DNs and their LscAttributes.

In some cases, the order of entries returned *is* important. Specifically, is 
you're working with full DNs to build a tree in your LDAP directory, you need 
the shortest DNs created before the longer ones (branch heads before children). 
And when you're cleaning, it needs to be the other way around - delete children 
before parents.

Changing the API should not be done now, but wait until next major release, 
IMHO. I have patched the generic services to use an "order-aware" 
implementation of Map (thanks to Apache Commons). Commit coming.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090702/7623d6eb/attachment.htm>

Reply via email to