Skip to content

Commit d2f37f4

Browse files
Fix compilation problem
Signed-off-by: Lehmann_Fabian <[email protected]>
1 parent 5338fdc commit d2f37f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/cws/k8s/scheduler/util/SortedListTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ void addWithDuplicates() {
7373

7474
@Test
7575
void addToEmptyList() {
76-
final SortedList<Integer> sortedList = new SortedList<>( new LinkedList<>() );
76+
// Explicit Integer required here
77+
final SortedList<Integer> sortedList = new SortedList<Integer>( new LinkedList<Integer>() );
7778
sortedList.add( 4 );
7879
log.info( sortedList.toString() );
7980
assertEquals( 4, sortedList.get( 0 ) );

0 commit comments

Comments
 (0)