You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/04/15 17:50:48 UTC

[jira] Created: (THRIFT-759) Make TBase implement Comparable

Make TBase implement Comparable
-------------------------------

                 Key: THRIFT-759
                 URL: https://issues.apache.org/jira/browse/THRIFT-759
             Project: Thrift
          Issue Type: Improvement
    Affects Versions: 0.3
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury
             Fix For: 0.3
         Attachments: thrift-759.patch

Since we accepted Dmitry's patch to make all Thrift structs comparable, we should make TBase extend Comparable so that you can compare them generically. (Note that this doesn't mean you could compare two structs of different classes - just that you could write code that could compare any two TBase of the same type.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (THRIFT-759) Make TBase implement Comparable

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

Bryan Duxbury closed THRIFT-759.
--------------------------------

    Resolution: Fixed

I just committed this.

> Make TBase implement Comparable
> -------------------------------
>
>                 Key: THRIFT-759
>                 URL: https://issues.apache.org/jira/browse/THRIFT-759
>             Project: Thrift
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>         Attachments: thrift-759.patch
>
>
> Since we accepted Dmitry's patch to make all Thrift structs comparable, we should make TBase extend Comparable so that you can compare them generically. (Note that this doesn't mean you could compare two structs of different classes - just that you could write code that could compare any two TBase of the same type.)

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


[jira] Updated: (THRIFT-759) Make TBase implement Comparable

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

Bryan Duxbury updated THRIFT-759:
---------------------------------

    Patch Info: [Patch Available]

> Make TBase implement Comparable
> -------------------------------
>
>                 Key: THRIFT-759
>                 URL: https://issues.apache.org/jira/browse/THRIFT-759
>             Project: Thrift
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>         Attachments: thrift-759.patch
>
>
> Since we accepted Dmitry's patch to make all Thrift structs comparable, we should make TBase extend Comparable so that you can compare them generically. (Note that this doesn't mean you could compare two structs of different classes - just that you could write code that could compare any two TBase of the same type.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (THRIFT-759) Make TBase implement Comparable

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

Bryan Duxbury updated THRIFT-759:
---------------------------------

    Attachment: thrift-759.patch

> Make TBase implement Comparable
> -------------------------------
>
>                 Key: THRIFT-759
>                 URL: https://issues.apache.org/jira/browse/THRIFT-759
>             Project: Thrift
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>         Attachments: thrift-759.patch
>
>
> Since we accepted Dmitry's patch to make all Thrift structs comparable, we should make TBase extend Comparable so that you can compare them generically. (Note that this doesn't mean you could compare two structs of different classes - just that you could write code that could compare any two TBase of the same type.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira