提交 8c5b9cd0 编写于 作者: S Stephen Connolly

[JENKINS-28926] Tidy-up TODO for the Java 7+ Jenkins versions

上级 a208dfea
......@@ -1412,8 +1412,7 @@ public class Queue extends ResourceController implements Saveable {
{// blocked -> buildable
// copy as we'll mutate the list and we want to process in a potentially different order
// TODO replace with <> operator after backporting to 1.609.3
List<BlockedItem> blockedItems = new ArrayList<BlockedItem>(blockedProjects.values());
List<BlockedItem> blockedItems = new ArrayList<>(blockedProjects.values());
// if facing a cycle of blocked tasks, ensure we process in the desired sort order
if (s != null) {
s.sortBlockedItems(blockedItems);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册