sebb wrote:

> On 6 June 2011 09:24, Gump <iss...@commons.apache.org> wrote:
>> To whom it may engage...
>>
>> This is an automated request, but not an unsolicited one. For
>> more information please visit http://gump.apache.org/nagged.html,
>> and/or contact the folk at gene...@gump.apache.org.
>>
>> Project commons-lang3 has an issue affecting its community integration.
>> This issue affects 1 projects.
>> The current state of this project is 'Failed', with reason 'Build
>> Failed'. For reference only, the following projects are affected by this:
>> - commons-lang3 :  utilities for the classes that are in java.lang's
>> hierarchy
> 
> Oops - that was caused by my fixes for the Eclipse warnings about
> varargs invocatiions.
> Only the (Class<?>[]) casts work. I'll fix up the errors shortly.

You could have done this:

================= %< ================
-        assertNull("null -> null", 
ClassUtils.primitivesToWrappers((Class<?>[]) null)); // test both types of 
...
-        assertNull("null -> null", 
ClassUtils.primitivesToWrappers((Class<?>) null));   // ... varargs 
invocation
+        assertNull("null -> null", ClassUtils.primitivesToWrappers());
+        assertNull("null -> null", 
ClassUtils.primitivesToWrappers((Class<?>[]) null)); // explicit cast to 
avoid warning
================= %< ================

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to