Niklas Gustavsson wrote:
On Thu, Oct 9, 2008 at 11:42 AM, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:
However, why don't we add a method :
listFiles( boolean ordered )

I don't see that the user of this method (which would normally be
ftpserver-core) would have much to benefit from this addition.
You're right? I was just trying to offer some options. But the more I think about it, the most I think it's useless.
What
I'm saying is, that in which case do you really want to declare
"please give me this list unordered"? A sorted list is about as
unordered as an unordered if you don't care about the order :-)
yeah, exactly :) I had the very same thought 2 mins ago : an ordered list is just a special case of an unordered list...
Besides, it doesn't resolve Andreas problem
Assuming he has any kind of real problem, so far ... We are still waiting for a use case where it's important to get an unordered list.
as there would still be a
requirement to implement the method in the case where ordered=true,
right?
Right.

Dave just summuraize pretty well how common sense it is to have this method returning an ordered list. I dion't see any problem with this approach either.

thanks Niklas !

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to