Skip to content
Permalink
Browse files
[JENKINS-31162] Removed CopyCategory
  • Loading branch information
recena committed Mar 15, 2016
1 parent 2bdcd5b commit a39a7f8a098f9de1f6eda67cc20299a0cbc953a1
Showing 1 changed file with 0 additions and 13 deletions.
@@ -365,19 +365,6 @@ public static Categories getCategories(Authentication a, ItemGroup c) {
categories.getItems().add(category);
}
}
if (Jenkins.getInstance().getAllItems().size() > 0) {
Map<String, Serializable> metadata = new HashMap<String, Serializable>();

// Information about Item.
metadata.put("class", "copy");
metadata.put("weight", Integer.MIN_VALUE);
metadata.put("displayName", "");
metadata.put("description", "");

Category copy = new Category("category-id-copy", "Copy existing Item", "Use an existing item as a starting point for creating a new item configuration.",
ItemCategory.MIN_WEIGHT, ItemCategory.MIN_TOSHOW, new ArrayList<Map<String, Serializable>>());
categories.getItems().add(copy);
}
return categories;
}

0 comments on commit a39a7f8

Please sign in to comment.