You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Carl Yeksigian (JIRA)" <ji...@apache.org> on 2013/05/02 22:00:17 UTC

[jira] [Commented] (THRIFT-1958) Use static Object.Equals instead of .Equals() calls in equals

    [ https://issues.apache.org/jira/browse/THRIFT-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647845#comment-13647845 ] 

Carl Yeksigian commented on THRIFT-1958:
----------------------------------------

This fixes the null comparison issue, refactors code to reduce a little redundancy.
                
> Use static Object.Equals instead of .Equals() calls in equals
> -------------------------------------------------------------
>
>                 Key: THRIFT-1958
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1958
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Carl Yeksigian
>            Assignee: Carl Yeksigian
>             Fix For: 1.0
>
>         Attachments: 1958.patch
>
>
> The generated code uses Object.Equals instead of .Equals. This breaks for null cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira