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

Michael McCandless commented on LUCENE-7752:
--------------------------------------------

Thanks [~djelinski], that's a great catch!  Your patch looks correct; does the 
test now fail?  The way it is in trunk now (buggy) would make the assert rarely 
have a chance to trigger, but with your (correct) fix, it's actually meaningful.

> Findbugs: Array.equals is equivalent to comparing references
> ------------------------------------------------------------
>
>                 Key: LUCENE-7752
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7752
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Daniel Jelinski
>            Priority: Minor
>         Attachments: LUCENE-7752.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to