[Java] Replace multiple calls to getShort in NettyArrowBuf
Open
Type: enhancement
- Dominant language
- Java
- Stars
- 94
- Forks
- 152
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 11
Description
As per https://github.com/apache/arrow/pull/7347#discussion_r437116925 replace two calls to getShort with one
**Reporter**: [Ryan Murray](https://issues.apache.org/jira/browse/ARROW-9148) / @rymurr
**Note**: *This issue was originally created as [ARROW-9148](https://issues.apache.org/jira/browse/ARROW-9148). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Research direction
Start by locating the NettyArrowBuf class and the two getShort calls referenced in the issue. Confirm the surrounding logic and existing Java tests, then verify that the calls are replaced as requested and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100