Skip to content

Commit

Permalink
Merge pull request #59 from gayanW/java-10_47-1
Browse files Browse the repository at this point in the history
Fixup for the PR: #58
  • Loading branch information
cyrille-artho authored May 27, 2018
2 parents 981fb1a + 5feccf6 commit a83107d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void testConstructorCallInteger() {

I obj = ctor.newInstance(42);
assertNotNull(obj);
assertEquals(new Integer(42), obj.i);
assertEquals(Integer.valueOf(42), obj.i);
} catch (Throwable t) {
fail("ctor invocation with Integer failed: " + t);
}
Expand Down
1 change: 1 addition & 0 deletions src/tests/gov/nasa/jpf/util/SparseClusterArrayTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public void testClone() {

Cloner<Integer> cloner = new Cloner<Integer>() {
@Override
@SuppressWarnings("deprecation")
public Integer clone (Integer other) {
return new Integer(other);
}
Expand Down

0 comments on commit a83107d

Please sign in to comment.