Ingo Brunberg wrote:
You are absolutely right. This issue has not been addressed before.

I'll happily accept a patch against the current implementation of
SearchMethod. But I would feel more comfortable if you'd not introduce
a new dependency on commons-collections.

Considering that it would require commons-collection just for a simple class, yes, this does make sense. This requires, though, some more code to maintain on the Slide side, since I'll have to implement a workaround based on a LinkedList that keeps the order. Not a big deal, but still somehow reinventing wheels.


One point that might deserve discussion is whether all methods should return results in the order they received it from the WebDAV server. I'm all for it, since there might be a reason for the server to return results in a given order, and losing it could be an issue sometimes.

Besides, even the use of Hashtable in the API themselves could be worth a thought since it's way to much tied to a specific and deprecated implementation. But I'm not sure that changing the API to return a Map is good from a backward-compatible POV.

Anyway, time to start coding. Will report back soon.

Ciao,

--
Gianugo Rabellino
Pro-netics s.r.l. -  http://www.pro-netics.com
Orixo, the XML business alliance - http://www.orixo.com
    (Blogging at: http://www.rabellino.it/blog/)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to