Add a convenience constructor IntsRef(int[]) [LUCENE-9813]
Open
legacy-jira-priority:Major
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
to avoid repetitive passing of 0 and array.length everywhere
---
Migrated from [LUCENE-9813](https://issues.apache.org/jira/browse/LUCENE-9813) by Peter Gromov (@donnerpeter), updated Mar 10 2021
Pull requests: https://github.com/apache/lucene-solr/pull/2434
Contributor guide
Research direction
Start by locating the IntsRef class and its existing constructors. Confirm the requested IntsRef(int[]) convenience constructor covers the stated repetitive arguments and check the relevant existing tests; done means the constructor is available and verified without breaking current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100