Skip to content

Commit 723f706

Browse files
committed
Merge branch '2.16'
2 parents 9cfcb1d + ebf2a82 commit 723f706

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/java/tools/jackson/databind/cfg/CacheProviderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*
2020
* @since 2.16
2121
*/
22+
@SuppressWarnings("serial")
2223
public class CacheProviderTest
2324
{
2425
static class RandomBean {

src/test/java/tools/jackson/databind/type/RecursiveWildcardTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package tools.jackson.databind.type;
22

33
import java.util.ArrayList;
4+
import java.util.Arrays;
45
import java.util.List;
56

67
import com.fasterxml.jackson.annotation.JsonCreator;
@@ -77,8 +78,6 @@ public void testDeserWildcard4118() throws Exception
7778
}
7879

7980
private <T> List<T> _listOf(T elem) {
80-
ArrayList<T> list = new ArrayList<>();
81-
list.add(elem);
82-
return list;
81+
return Arrays.asList(elem);
8382
}
8483
}

0 commit comments

Comments
 (0)