campusStatuses = this.getAlertsByCode(selectedCampus); if (campusStatuses != null && campusStatuses.size() > 1) { List filteredStatuses = new ArrayList(); Iterator iter = campusStatuses.iterator(); while (iter.hasNext()) { Alert status = (Alert) iter.next(); if (isAlertToReport(status) && !filteredStatuses.contains(status)) { filteredStatuses.add(status); } } campusStatuses = filteredStatuses; } if (campusStatuses == null || campusStatuses.isEmpty()) { ]]> iter = simpleContentArray.iterator(); iter.hasNext();) { try { JSONObject contentBlockObject = iter.next(); ContentBlock contentBlock = new ContentBlock(); contentBlock.setContentBlock(contentBlockObject.getString("welcome")); contentBlocks.add(contentBlock); } catch (Exception e) { LOG.error(e.getMessage(), e); } } } catch (Exception e) { LOG.error(e.getMessage(), e); } return contentBlocks; } @SuppressWarnings("unchecked") @Override public List findAllAttendees(char start, char end) { ]]> tools = new ArrayList(); Tool tool = new Tool(); tool.setAlias("maps"); tool.setTitle("Maps"); tool.setUrl("maps"); tool.setDescription("Get from here to there. Search for buildings by name."); tool.setIconUrl("images/service-icons/srvc-maps.png"); adminService.saveTool(tool); HomeTool ht = new HomeTool(home, tool, 0); ]]>