Skip to content

Commit

Permalink
[Java] Java 11 compile issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Aug 24, 2018
1 parent 03372a7 commit 1456b3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ public <T1> T1[] toArray(final T1[] into)
{
arrayCopy[size] = null;
}

return arrayCopy;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ public void reducesSizeWhenElementRemoved()
@Test(expected = NullPointerException.class)
public void toArrayThrowsNullPointerExceptionForNullArgument()
{
//noinspection ConstantConditions
testSet.toArray(null);
final Integer[] into = null;
testSet.toArray(into);
}

@Test
Expand Down

0 comments on commit 1456b3c

Please sign in to comment.