Skip to content

Commit

Permalink
[JENKINS-28926] Tidy-up TODO for the Java 7+ Jenkins versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jun 17, 2015
1 parent a208dfe commit 8c5b9cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/model/Queue.java
Expand Up @@ -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);
Expand Down

0 comments on commit 8c5b9cd

Please sign in to comment.