Skip to content
Permalink
Browse files
[JENKINS-31162] @tfennelly's comment was addresed
  • Loading branch information
recena committed Mar 11, 2016
1 parent e140be8 commit ef5b11b7c8738689f014afbd1085bc8f71906ae7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -348,7 +348,7 @@ public static Categories getCategories(Authentication a, ItemGroup c) {
int i = 0;
boolean found = false;
while (i < categories.getItems().size() && !found) {
if (categories.getItems().get(i).getId() == ic.getId()) {
if (categories.getItems().get(i).getId().equals(ic.getId())) {
Map<String, Object> metadata = new HashMap<String, Object>();
metadata.put("class", descriptor.clazz.getName());
metadata.put("iconClassName", "item-icon-" + descriptor.clazz.getName().substring(descriptor.clazz.getName().lastIndexOf(".") + 1).toLowerCase());

0 comments on commit ef5b11b

Please sign in to comment.