[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Update required Java version to 5.0?

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 25 Feb 2010 20:22:29 -0800

On Thu, Feb 25, 2010 at 6:49 PM, Hyrum K. Wright
<hyrum_wright_at_mail.utexas.edu> wrote:
> Just going through the svnj source, and I started wondering why we're not using generics in our own java packages.  Generics were introduced in Java 5.0, but turns out that we only require 1.3 in our own source.  Given that 5.0 was introduced in 2004, isn't it about time we relax our requirements and update our code to use the new features of 5.0?  The change to our package namespace presents a good opportunity to do so.
>

I am pretty ambivalent on it. It would be a convenient time to do it,
but at the same time off the top of my head I do not see where our
code is going to benefit much from it. I do not recall us using a lot
of Collections in our code and the API signatures do not return them,
so why change from arrays to generics? It is also going to be more
invasive for our users that have to convert their code even more.

I think the thing that would swing me in favor of this would be seeing
the actual improvements it could make to our code base. I am just not
really seeing that.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2010-02-26 05:23:05 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.