[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: Blair Zajac <blair_at_orcaware.com>
Date: Thu, 25 Feb 2010 21:41:34 -0800

Hyrum K. Wright 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.

+1. Seeing casts through the code is just ugly and it makes it easier for
clients to use the library so they don't have to use casts.

Also, 1.4 has been end-of-life by Oracle(Sun) so most people should be on 1.5.

Blair
Received on 2010-02-26 06:42:17 CET

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