You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Brian Egge (JIRA)" <ji...@apache.org> on 2007/10/30 09:35:50 UTC

[jira] Created: (COLLECTIONS-273) Generify functors

Generify functors
-----------------

                 Key: COLLECTIONS-273
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
             Project: Commons Collections
          Issue Type: Improvement
    Affects Versions: Generics
            Reporter: Brian Egge
            Priority: Minor
         Attachments: functors.patch

I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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


Re: [jira] Created: (COLLECTIONS-273) Generify functors

Posted by Stephen Kestle <st...@orionhealth.com>.
Wow - Brian - getting a move on!  Patches are always welcome.  What I am 
doing is basically making a project for every patch I get, and then 
merging them in as I make changes (to see if there's anything left of 
interest).

Hmm.  Looks like I really need to get CollectionUtils in sooner rather 
than later.  Generics is troublesome enough that we need to be really 
vigilant about edge test cases. 

e.g. in the functors.patch,

TransformedCollection.decorate(new ArrayList<String>(), NOOP_TRANSFORMER)
returns a Collection<String> - it should also be able to return a Collection<Object>.  Trust me, it's useful.

And all these should be tested.  We really need to ensure that our tests 
show something as broken, and then fix them.  The strange thing about 
"testing" generics is that it's at compile time, so merely having the 
code in the test case is sufficient.

JavaDoc is also really important for patches.  I'm using generic method 
declarations as markers of completeness, so I'm not committing unless 
documentation is up to standard.  This also slows committing down.

Unfortunately, I don't know when ASAP is...

Brian Egge (JIRA) wrote:
> Generify functors
> -----------------
>
>                  Key: COLLECTIONS-273
>                  URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>              Project: Commons Collections
>           Issue Type: Improvement
>     Affects Versions: Generics
>             Reporter: Brian Egge
>             Priority: Minor
>          Attachments: functors.patch
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.
>
>   


[jira] Updated: (COLLECTIONS-273) Generify functors

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated COLLECTIONS-273:
--------------------------------------

        Fix Version/s: Generics
    Affects Version/s:     (was: Generics)

> Generify functors
> -----------------
>
>                 Key: COLLECTIONS-273
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Brian Egge
>            Priority: Minor
>             Fix For: Generics
>
>         Attachments: functors.patch
>
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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


[jira] Updated: (COLLECTIONS-273) Generify functors

Posted by "Brian Egge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Egge updated COLLECTIONS-273:
-----------------------------------

    Attachment: functors.patch

> Generify functors
> -----------------
>
>                 Key: COLLECTIONS-273
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: Generics
>            Reporter: Brian Egge
>            Priority: Minor
>         Attachments: functors.patch
>
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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


[jira] Resolved: (COLLECTIONS-273) Generify functors

Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Benson resolved COLLECTIONS-273.
-------------------------------------

    Resolution: Fixed

this patch seems to have contained a lot more than just functors.  In any event the functors were generified in svn rev 738956.

> Generify functors
> -----------------
>
>                 Key: COLLECTIONS-273
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Brian Egge
>            Assignee: Stephen Kestle
>            Priority: Minor
>             Fix For: Generics
>
>         Attachments: functors.patch
>
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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


[jira] Updated: (COLLECTIONS-273) Generify functors

Posted by "Brian Egge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Egge updated COLLECTIONS-273:
-----------------------------------

    Attachment:     (was: functors.patch)

> Generify functors
> -----------------
>
>                 Key: COLLECTIONS-273
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: Generics
>            Reporter: Brian Egge
>            Priority: Minor
>         Attachments: functors.patch
>
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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


[jira] Updated: (COLLECTIONS-273) Generify functors

Posted by "Brian Egge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Egge updated COLLECTIONS-273:
-----------------------------------

    Attachment: functors.patch

> Generify functors
> -----------------
>
>                 Key: COLLECTIONS-273
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-273
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: Generics
>            Reporter: Brian Egge
>            Priority: Minor
>         Attachments: functors.patch
>
>
> I generified most of the functors.  I didn't touch the transformer classes, as I need to think about those a bit more.

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