may be we can write:
Object value = getAttribute(name, modeConf, objectModel); return (value == null ? null : new Object[]{value});
If the value is null no Object[] is generated. You need to know, that I am the best friend of the GC ;-) Sorry for the nitpicking ;-)
Here you go.
applying to your commit message and in comparison to the second example shouldn't it be
return (result[0] == null? null : result);
Otherwise it seems to make no sense.
Absolutely.
Thanks again for your attention, Volker & Joerg!
Chris.
-- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08