apache / apache/lucene

Findbugs: Array.equals is equivalent to comparing references [LUCENE-7752]

Open
#8,803 6 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

---
Migrated from [LUCENE-7752](https://issues.apache.org/jira/browse/LUCENE-7752) by Daniel Jelinski, updated Jun 15 2017
Parent: #8801
Attachments: [failing_graph.png](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7752/failing_graph.png), [LUCENE-7752.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7752/LUCENE-7752.patch)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the attached LUCENE-7752.patch and failing_graph.png, then locate the Java code that triggered the FindBugs Array.equals warning. Check the relevant tests or build checks for that component; done means the reference-comparison warning is resolved without introducing regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.