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

Reply via email to