Skip to content
Permalink
Browse files

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

  • Loading branch information
stephenc committed Jun 17, 2015
1 parent a208dfe commit 8c5b9cd008a4d0fb30dc39d9ee1bd72b95b199f2
Showing with 1 addition and 2 deletions.
  1. +1 −2 core/src/main/java/hudson/model/Queue.java
@@ -1412,8 +1412,7 @@ public void maintain() {

{// 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);

0 comments on commit 8c5b9cd

Please sign in to comment.
You can’t perform that action at this time.