Skip to content

Fix incorrect Javadoc for ArrayUtils.hashCode(null)#1593

Closed
sohamgulame wants to merge 1 commit intoapache:masterfrom
sohamgulame:fix-arrayutils-hashcode-javadoc
Closed

Fix incorrect Javadoc for ArrayUtils.hashCode(null)#1593
sohamgulame wants to merge 1 commit intoapache:masterfrom
sohamgulame:fix-arrayutils-hashcode-javadoc

Conversation

@sohamgulame
Copy link

This PR fixes an incorrect statement in the Javadoc of ArrayUtils#hashCode(Object).

Previously, the documentation stated that null returns zero, but the actual implementation returns 629 via HashCodeBuilder.

This change updates the Javadoc to reflect the real behavior without altering functionality.

All tests pass locally with Maven build.

@garydgregory
Copy link
Member

Hello @sohamgulame

Thank you for your PR but... This is a duplicate of #1580 and in an area under review for a bug fix.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants