Adam,
No I agree, but syntactically not exciting. I really prefer the ...
concept (Varargs or ellipse), don't you ? Of course this mean rewriting
some functions in the framework.
Do you really like to have this functions with multiple arguments sizes
?
http://tinyurl.com/35zxnjJacques
> Jacques Le Roux wrote:
> > But I know we have to wait our 1st release as an Apache TLP...
> >
> > LookupBulkAddSupplierProducts.bsh[48] uses
> > UtilMisc.toList("productId", "supplierProductId",
"supplierProductName",
> > "lastPrice", "minimumOrderQuantity", "availableFromDate",
> > "availableThruDate")
> > but max is 6 for now...
>
> UtilMisc.toList(new Object[] {});
> java.util.Arrays.asList(new Object[] {});
>
> Is it really that much more code to write?