Re: [VOTE] Release of Commons Email 1.3.1 based on RC2

2013-02-25 Thread Jörg Schaible
Hi Thomas, Thomas Neidhart wrote: > On 02/25/2013 11:59 PM, Jörg Schaible wrote: [snip] >> I don't know what this powermock/javaassist combo does, but either it >> seems to fail completely for IBM JDK or it is the Wiser class itself that >> fails to initialize on these JDKs. >> >> I've tested

Re: [VOTE] Release of Commons Email 1.3.1 based on RC2

2013-02-25 Thread Thomas Neidhart
On 02/25/2013 11:59 PM, Jörg Schaible wrote: > Hi Thomas, > > Thomas Neidhart wrote: > >> Hi, >> >> I'd like to call a vote for releasing Commons Email 1.3.1 based on RC2. >> >> This release candidate has the following changes compared to RC1: >> >> * Clirr compares now to 1.3 rather than 1.2 >>

Re: svn commit: r1449929 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bag/AbstractMapBag.java

2013-02-25 Thread Thomas Neidhart
On 02/26/2013 07:57 AM, Simone Tripodi wrote: > Hi Thomas, > >> +@SuppressWarnings("unchecked") >> public T[] toArray(T[] array) { >> final int size = size(); >> if (array.length < size) { >> -// This is safe, both are type T >> array = (T[]) >

Re: svn commit: r1449929 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bag/AbstractMapBag.java

2013-02-25 Thread Simone Tripodi
Hi Thomas, > +@SuppressWarnings("unchecked") > public T[] toArray(T[] array) { > final int size = size(); > if (array.length < size) { > -// This is safe, both are type T > array = (T[]) > Array.newInstance(array.getClass().getComponentType(),

Re: [VOTE] Release of Commons Email 1.3.1 based on RC2

2013-02-25 Thread Jörg Schaible
Hi Thomas, Thomas Neidhart wrote: > Hi, > > I'd like to call a vote for releasing Commons Email 1.3.1 based on RC2. > > This release candidate has the following changes compared to RC1: > > * Clirr compares now to 1.3 rather than 1.2 > * Link to released API has been fixed > > The files: > >

Re: svn commit: r1449876 - in /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils: ConstructorUtils.java MethodUtils.java

2013-02-25 Thread Benedikt Ritter
2013/2/25 Simone Tripodi > sounds reasonable > > > Still don't like it to have the exact same logic in two places. Any idea > > where to put this? I thought of creating a package private > "ParameterUtils" > > or "ObjectUtils" or something like that... > > how did we manage that in BU2? > We did

Re: svn commit: r1449876 - in /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils: ConstructorUtils.java MethodUtils.java

2013-02-25 Thread Simone Tripodi
sounds reasonable > Still don't like it to have the exact same logic in two places. Any idea > where to put this? I thought of creating a package private "ParameterUtils" > or "ObjectUtils" or something like that... how did we manage that in BU2? -Simo http://people.apache.org/~simonetripodi/ ht

Re: svn commit: r1449876 - in /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils: ConstructorUtils.java MethodUtils.java

2013-02-25 Thread Benedikt Ritter
2013/2/25 > Author: britter > Date: Mon Feb 25 20:37:28 2013 > New Revision: 1449876 > > URL: http://svn.apache.org/r1449876 > Log: > Invert conditional logic as discussed on the ML ( > http://markmail.org/message/psfzd3l7yaxx6n5v) > > Modified: > > commons/proper/beanutils/trunk/src/main/java/or

Re: [VOTE] Release of Commons Email 1.3.1 based on RC2

2013-02-25 Thread Luc Maisonobe
Le 24/02/2013 18:54, Thomas Neidhart a écrit : > Hi, > > I'd like to call a vote for releasing Commons Email 1.3.1 based on RC2. > > This release candidate has the following changes compared to RC1: > > * Clirr compares now to 1.3 rather than 1.2 > * Link to released API has been fixed > > The

[vfs] webdav list

2013-02-25 Thread Jean-Marc Borer
Hi all, I've noticed that when you try to get a directory list with WebDAV it ALWAYS include the parent folder in its first entry. For example, when you try to list items from an empty dir, WebDAV returns you one entry with the folder itself. In VFS, this prevents the deletion of the directory si

Re: svn commit: r1449456 - in /commons/proper/beanutils/trunk/src: changes/changes.xml main/java/org/apache/commons/beanutils/ConstructorUtils.java test/java/org/apache/commons/beanutils/ConstructorUt

2013-02-25 Thread Simone Tripodi
> You might use "new Object[]{arg}". In the end the compiler does the same. > +1 > Cheers, > Jörg http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ -

Re: svn commit: r1449456 - in /commons/proper/beanutils/trunk/src: changes/changes.xml main/java/org/apache/commons/beanutils/ConstructorUtils.java test/java/org/apache/commons/beanutils/ConstructorUt

2013-02-25 Thread Benedikt Ritter
2013/2/25 Jörg Schaible > Benedikt Ritter wrote: > > > Hi Simo, > > > > 2013/2/24 Simone Tripodi > > > >> Hi there Bene, > >> > >> > @@ -82,6 +82,9 @@ public class ConstructorUtils { > >> > InstantiationException { > >> > > >> > Object[] args = { arg }; > >> > +if (

Re: svn commit: r1449456 - in /commons/proper/beanutils/trunk/src: changes/changes.xml main/java/org/apache/commons/beanutils/ConstructorUtils.java test/java/org/apache/commons/beanutils/ConstructorUt

2013-02-25 Thread Jörg Schaible
Benedikt Ritter wrote: > Hi Simo, > > 2013/2/24 Simone Tripodi > >> Hi there Bene, >> >> > @@ -82,6 +82,9 @@ public class ConstructorUtils { >> > InstantiationException { >> > >> > Object[] args = { arg }; >> > +if (arg == null) { >> > +args = null; >>