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

Dave Brosius commented on DERBY-5022:
-------------------------------------

this would imply that some code is now finding two FormattableBitSets equal 
when they weren't before, as it was only expecting reference equality before.

If that is what is wanted, the comparison should be changed to

mybitset == anotherbitset





> [patch] override equals correctly
> ---------------------------------
>
>                 Key: DERBY-5022
>                 URL: https://issues.apache.org/jira/browse/DERBY-5022
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 10.8.0.0
>
>         Attachments: override_equals_correctly.diff, test.tgz
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code implements equals w/o an Object parm. Calling code that doesn't have 
> first class signature of FormatableBitSet will not work as expected. Properly 
> override equals to fix.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to