Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@
IStructuredSelection result = fViewer.getStructuredSelection();
assertEquals(children.length, result.size(), "Size was " + result.size() + " expected " + children.length);
Set<TestElement> childrenSet = new HashSet<>(Arrays.asList(children));
@SuppressWarnings("unchecked")
Set<?> selectedSet = new HashSet<Object>(result.toList());

Check warning on line 282 in tests/org.eclipse.jface.tests/src/org/eclipse/jface/tests/viewers/VirtualTableViewerTest.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Unchecked Raw

NORMAL: Type safety: The expression of type List needs unchecked conversion to conform to Collection
assertTrue(childrenSet.equals(selectedSet), "Elements do not match ");
}
}
Loading