On Thu, Feb 25, 2010 at 6:49 PM, Hyrum K. Wright <hyrum_wri...@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/