typetools / typetools/checker-framework
CollectionToArrayHeuristics should handle Vector.copyInto
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
The semantics of Vector.copyInto are essentially the same as those of
Collection.toArray. Therefore, class CollectionToArrayHeuristics should
special-case Vector.copyInto just as it currently does for Collection.toArray.
Original issue reported on code.google.com by michael.ernst@gmail.com on 13 Aug 2011 at 9:54
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in CollectionToArrayHeuristics and compare the existing special handling for Collection.toArray with Vector.copyInto. Confirm that Vector.copyInto receives equivalent treatment, and consider the issue complete when the heuristic recognizes both operations consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100