Skip to content

Conversation

@ptziegler
Copy link
Contributor

The add() method has been replaced with an insert() method. For the isEquals() method, one should use Objects.deepEquals(). However, those are only used in tests where one can simply use assertArrayEquals() instead.

The add() method has been replaced with an insert() method. For the
isEquals() method, one should use Objects.deepEquals(). However, those
are only used in tests where one can simply use assertArrayEquals()
instead.
@ptziegler ptziegler added this to the 1.21.0 milestone Jul 16, 2025
Comment on lines -53 to -58
@Test
public void test_array_compare() throws Exception {
int[] a_1 = new int[]{1, 2, 3};
int[] a_2 = new int[]{1, 2, 3};
assertTrue(ArrayUtils.isEquals(a_1, a_2));
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue why we test the correctness of commons-lang...

@ptziegler ptziegler merged commit c292018 into eclipse-windowbuilder:master Jul 17, 2025
8 checks passed
@ptziegler ptziegler deleted the deprecated-array-utils branch July 17, 2025 04:26
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.

1 participant