commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [GUMP@vmgump]: Project commons-lang3 (in module apache-commons) failed
Date Mon, 06 Jun 2011 21:47:05 GMT
sebb wrote:

> On 6 June 2011 09:24, Gump <issues@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 general@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message