You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/05/25 17:51:37 UTC
[commons-lang] 07/07: Revert.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 1682277ebcc37d24a1bfd87ebedd60510a7da4c1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue May 25 13:48:57 2021 -0400
Revert.
---
src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java
index 5366a07..a9e62de 100644
--- a/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java
+++ b/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java
@@ -356,9 +356,9 @@ public class DiffBuilderTest {
@Test
public void testObjectsNotSameButEqual() {
final TypeTestClass left = new TypeTestClass();
- left.objectField = Integer.valueOf(1);
+ left.objectField = new Integer(1);
final TypeTestClass right = new TypeTestClass();
- right.objectField = Integer.valueOf(1);
+ right.objectField = new Integer(1);
assertNotSame(left.objectField, right.objectField);
assertEquals(left.objectField, right.objectField);