apache / apache/lucene

Equals Methods Does Not Consider Null Case [LUCENE-5509]

Open
#6,572 2 comments 0 reactions 0 assignees View on GitHub
affects-version:4.6.1 affects-version:4.7 legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 legacy-jira-priority:Minor type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Equals methods of KeywordAttributeImpl.java, BasicOperations.java and DaciukMihovAutomatonBuilder.java does not consider null case.

---
Migrated from [LUCENE-5509](https://issues.apache.org/jira/browse/LUCENE-5509) by Furkan Kamaci, updated May 09 2016
Attachments: [LUCENE-5509.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5509/LUCENE-5509.patch)

Contributor guide

Open the contributing guide

Research direction

Start by reading the equals methods in KeywordAttributeImpl.java, BasicOperations.java, and DaciukMihovAutomatonBuilder.java. Review the attached LUCENE-5509.patch to understand the intended null-case coverage, then verify the affected behavior with the existing tests for these classes.

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
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.