[jira] Commented: (COLLECTIONS-110) Support parametized classes with commons.collections.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Commented: (COLLECTIONS-110) Support parametized classes with commons.collections.

AD_LB (Jira)

    [ https://issues.apache.org/jira/browse/COLLECTIONS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552835 ]

Kyle Adams commented on COLLECTIONS-110:

I've read through all the comments on this issue, as well as Stephen's [blog entry on the topic|http://www.jroller.com/scolebourne/entry/generics_and_commons_collections].  I found his last comment rather interesting:

Well, a lot of large enterpises are still running JDK1.3 (or even earlier) and perfectly happy. If you work in a small agile environent you can get a completely different view of the Java world from the enterprise view.

I work for a large enterprise and when Stephen posted that comment in June of 2006, it was very true for us.  In the second half of '06, we upgraded all of our internal web apps from running on WebLogic 7 to WebLogic 9.  WebLogic 9 came with JDK 1.5 by default; I'm not even sure it was supported on JDK 1.3.  Consequently all of our web apps have upgraded to Java 5.  Our batch processing apps have also been moving over, due to the performance and multi-threading improvements in Java 5 & 6.

Consequently I'm just now getting on the generics bandwagon.  One of the things I really appreciate about generics is the improvement in maintainability.  I'm the primary support developer for a large system that was originally developed by an outsourced, offshored project.  Consequently documentation is slim and the code can get convoluted.  Pre-generics, sometimes I had to dig through several hundred lines of code to figure out what was getting stored in a Collection.  Post-generics, it's explicitly clear what each collection contains.

Chalk me up as a Java 5-ified commons-collections supporter.

> Support parametized classes with commons.collections.
> -----------------------------------------------------
>                 Key: COLLECTIONS-110
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-110
>             Project: Commons Collections
>          Issue Type: Wish
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Colbert Philippe
>             Fix For: Generics
>         Attachments: collections.patch, Jakarta Collections-generic.tar.gz
> It's time to create a parallel version of commons.collections to support
> parametized classes of each container class and abstract class.  It's not that
> hard.  There is a 23 PDF document on Sun Java website describing in detail how
> it should be done and what to watch out for.
> I already converted a few classes from commons.collection privately for my own
> needs.  Once you get the hang of it, it's a rather quick process.
> I am even willing to volunteer my time to do some more but I need the
> collaboration of some of the original programmers to watch over things.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.