mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Remove redundant type arguments
This commit is contained in:
1 parent
9a6566d5e4
commit
39c22138d7
15 files changed
+31
-31
No files matched your search
@@ -179,7 +179,7 @@ public class FunctionsTest {
|
||||
when(view.getOwner().getItemGroup()).thenReturn(parent);
|
||||
createMockAncestors(req, createAncestor(j, "../.."), createAncestor(view, "."));
|
||||
TopLevelItem i = createMockItem(parent, "job/i/");
|
||||
when(view.getItems()).thenReturn(Collections.<TopLevelItem>emptyList());
|
||||
when(view.getItems()).thenReturn(Collections.emptyList());
|
||||
String result = Functions.getRelativeLinkTo(i);
|
||||
assertEquals("/jenkins/job/i/", result);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user