Skip to content

Use ArrayUtil#copyOfSubArray to simplify manual array copy patterns#15826

Merged
easyice merged 3 commits intoapache:mainfrom
easyice:use-copyOfSubArray
Mar 16, 2026
Merged

Use ArrayUtil#copyOfSubArray to simplify manual array copy patterns#15826
easyice merged 3 commits intoapache:mainfrom
easyice:use-copyOfSubArray

Conversation

@easyice
Copy link
Contributor

@easyice easyice commented Mar 15, 2026

Replace manual new T[] + System.arraycopy patterns with ArrayUtil#copyOfSubArray.

@github-actions github-actions bot added this to the 10.5.0 milestone Mar 16, 2026
@easyice easyice merged commit 8169afe into apache:main Mar 16, 2026
13 checks passed
@easyice
Copy link
Contributor Author

easyice commented Mar 16, 2026

Thanks for the quick review @dweiss !

asf-gitbox-commits pushed a commit that referenced this pull request Mar 16, 2026
…15826)

* Use ArrayUtil#copyOfSubArray to simplify manual array copy patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants