Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error compare method in IT framework #12592

Merged
merged 1 commit into from
May 27, 2024

Conversation

Cpaulyz
Copy link
Contributor

@Cpaulyz Cpaulyz commented May 26, 2024

Description

As shown in the figure, using Objects.equals returns the wrong result when T is a byte array.

Arrays.equals should be used to compare array objects.

img_v3_02b7_f5741319-dfcf-4523-b496-4846b8aadb2g

@JackieTien97 JackieTien97 merged commit 21a2396 into apache:master May 27, 2024
55 of 57 checks passed
@Cpaulyz Cpaulyz deleted the fix_it_check_array branch May 29, 2024 02:18
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