Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-21 Thread Henri Yandell
On Thu, Apr 21, 2011 at 12:01 PM, Gary Gregory wrote: > On Thu, Apr 21, 2011 at 2:38 PM, Henri Yandell wrote: >> >> On Thu, Apr 21, 2011 at 8:31 AM, Gary Gregory >> wrote: >> > On Mon, Apr 11, 2011 at 7:19 PM, Henri Yandell >> > wrote: >> >> >> >> On Mon, Apr 11, 2011 at 3:43 PM, Gary Gregory

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-21 Thread Gary Gregory
On Thu, Apr 21, 2011 at 2:38 PM, Henri Yandell wrote: > On Thu, Apr 21, 2011 at 8:31 AM, Gary Gregory > wrote: > > On Mon, Apr 11, 2011 at 7:19 PM, Henri Yandell > wrote: > >> > >> On Mon, Apr 11, 2011 at 3:43 PM, Gary Gregory > >> wrote: > >> > On Mon, Apr 11, 2011 at 4:26 PM, Henri Yandell

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-21 Thread Henri Yandell
On Thu, Apr 21, 2011 at 8:31 AM, Gary Gregory wrote: > On Mon, Apr 11, 2011 at 7:19 PM, Henri Yandell wrote: >> >> On Mon, Apr 11, 2011 at 3:43 PM, Gary Gregory >> wrote: >> > On Mon, Apr 11, 2011 at 4:26 PM, Henri Yandell >> > wrote: >> >> >> >> +1 to rename getShortClassName to getSimpleName;

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-21 Thread Gary Gregory
On Mon, Apr 11, 2011 at 7:19 PM, Henri Yandell wrote: > On Mon, Apr 11, 2011 at 3:43 PM, Gary Gregory > wrote: > > On Mon, Apr 11, 2011 at 4:26 PM, Henri Yandell > wrote: > >> > >> +1 to rename getShortClassName to getSimpleName; sitting on top of the > >> JDK getSimpleName and providing null s

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-11 Thread Henri Yandell
On Mon, Apr 11, 2011 at 3:43 PM, Gary Gregory wrote: > On Mon, Apr 11, 2011 at 4:26 PM, Henri Yandell wrote: >> >> +1 to rename getShortClassName to getSimpleName; sitting on top of the >> JDK getSimpleName and providing null safety and whatever other >> features are needed (for example array enc

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-11 Thread Gary Gregory
On Mon, Apr 11, 2011 at 4:26 PM, Henri Yandell wrote: > +1 to rename getShortClassName to getSimpleName; sitting on top of the > JDK getSimpleName and providing null safety and whatever other > features are needed (for example array encoding). > You must mean deprecate getShortClassName (to remo

Re: [Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-11 Thread Henri Yandell
+1 to rename getShortClassName to getSimpleName; sitting on top of the JDK getSimpleName and providing null safety and whatever other features are needed (for example array encoding). Hen On Mon, Apr 11, 2011 at 7:18 AM, Gary Gregory wrote: > Hi All: > > Should we deprecate ClassUtils getShortCl

[Lang] ClassUtils getShortClassName != Class getSimpleName

2011-04-11 Thread Gary Gregory
Hi All: Should we deprecate ClassUtils getShortClassName in favor of Class getSimpleName? The behavior of getShortClassName is undocumented for arrays in the Javadoc and is different from getSimpleName. When I replace the guts of getShortClassName to call getSimpleName, one test fails: junit.fr