I don't have a terribly strong feeling either way, but it seems to me that a vector's elements certainly have a notion of ordering, and that outputting in anything but that order is likely unexpected. I wouldn't expect List.toString() to just output stuff in any old order.
Attached is, incidentally, a taste of the sorts of little optimizations I'd like to apply to code like this. Sean On Tue, Aug 12, 2008 at 8:13 PM, Jeff Eastman <[EMAIL PROTECTED]> wrote: > Seems to me that the problem is the unit test is too simple-minded to handle > the occasional reorderings that occur. I see no reason to have a particular > order of the element be part of the contract of asFormatString(). Who cares > what the order is? How about just fixing the unit test? > > Jeff
