Skip to content

Commit

Permalink
Use Integer.valueOf instead of deprecated constructor (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored Dec 22, 2024
1 parent e21a0b1 commit a685e56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void testEquals3() {
@Test
public void testEquals4() {
ICounter c = CounterImpl.getInstance(300, 123);
assertFalse(c.equals(new Integer(123)));
assertFalse(c.equals(Integer.valueOf(123)));
}

@Test
Expand Down

0 comments on commit a685e56

Please sign in to comment.