@Override public Map getContextMap(ApplicationUser user, JiraHelper jiraHelper) { final List<Issue> history = userHistoryManager.getShortIssueHistory(user); int logoHeight = TextUtils.parseInt(applicationProperties.getDefaultBackedString(APKeys.JIRA_LF_LOGO_HEIGHT)); String historyHeight = String.valueOf(80 + logoHeight + (25 * history.size())); String filterHeight = String.valueOf(205 + logoHeight); return EasyMap.build("historyWindowHeight", historyHeight, "filtersWindowHeight", filterHeight); } }
return new Integer(TextUtils.parseInt(text));