We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5338fdc commit d2f37f4Copy full SHA for d2f37f4
src/test/java/cws/k8s/scheduler/util/SortedListTest.java
@@ -73,7 +73,8 @@ void addWithDuplicates() {
73
74
@Test
75
void addToEmptyList() {
76
- final SortedList<Integer> sortedList = new SortedList<>( new LinkedList<>() );
+ // Explicit Integer required here
77
+ final SortedList<Integer> sortedList = new SortedList<Integer>( new LinkedList<Integer>() );
78
sortedList.add( 4 );
79
log.info( sortedList.toString() );
80
assertEquals( 4, sortedList.get( 0 ) );
0 commit comments