Source:
protected Page newPage(final HttpServletRequest req, final HttpServletResponse resp, final Session session, final String template) { final Page page = new Page(req, resp, getApplication().getVelocityEngine(), template); page.add("version", jarVersion); page.add("azkaban_name", this.name); page.add("azkaban_label", this.label); page.add("azkaban_color", this.color); page.add("note_type", NoteServlet.type); page.add("note_message", NoteServlet.message); page.add("note_url", NoteServlet.url); page.add("utils", utils); page.add("timezone", TimeZone.getDefault().getID()); page.add("currentTime", (new DateTime()).getMillis()); if (session != null && session.getUser() != null) { page.add("user_id", session.getUser().getUserId()); } page.add("context", req.getContextPath()); final String errorMsg = getErrorMessageFromCookie(req); page.add("error_message", errorMsg == null || errorMsg.isEmpty() ? "null" : errorMsg); setErrorMessageInCookie(resp, null); final String warnMsg = getWarnMessageFromCookie(req); page.add("warn_message", warnMsg == null || warnMsg.isEmpty() ? "null" : warnMsg); setWarnMessageInCookie(resp, null); final String successMsg = getSuccessMessageFromCookie(req); page.add("success_message", successMsg == null || successMsg.isEmpty() ? "null" : successMsg); setSuccessMessageInCookie(resp, null); if (this.viewerPlugins != null && !this.viewerPlugins.isEmpty()) { page.add("viewers", this.viewerPlugins); } if (this.triggerPlugins != null && !this.triggerPlugins.isEmpty()) { page.add("triggerPlugins", this.triggerPlugins); } page.add("displayExecutionPageSize", displayExecutionPageSize); return page; }

Target:
protected Page newPage(final HttpServletRequest req, final HttpServletResponse resp, final Session session, final String template) { final Page page = new Page(req, resp, getApplication().getVelocityEngine(), template); page.add("version", jarVersion); page.add("azkaban_name", this.name); page.add("azkaban_label", this.label); page.add("azkaban_color", this.color); page.add("note_type", NoteServlet.type); page.add("note_message", NoteServlet.message); page.add("note_url", NoteServlet.url); page.add("utils", utils); page.add("timezone", TimeZone.getDefault().getID()); page.add("currentTime", (new DateTime()).getMillis()); if (session != null && session.getUser() != null) { page.add("user_id", session.getUser().getUserId()); } page.add("context", req.getContextPath()); final String errorMsg = getErrorMessageFromCookie(req); page.add("error_message", errorMsg == null || errorMsg.isEmpty() ? "null" : errorMsg); setErrorMessageInCookie(resp, null); final String warnMsg = getWarnMessageFromCookie(req); page.add("warn_message", warnMsg == null || warnMsg.isEmpty() ? "null" : warnMsg); setWarnMessageInCookie(resp, null); final String successMsg = getSuccessMessageFromCookie(req); page.add("success_message", successMsg == null || successMsg.isEmpty() ? "null" : successMsg); setSuccessMessageInCookie(resp, null); if (this.viewerPlugins != null && !this.viewerPlugins.isEmpty()) { page.add("viewers", this.viewerPlugins); } if (this.triggerPlugins != null && !this.triggerPlugins.isEmpty()) { page.add("triggerPlugins", this.triggerPlugins); } return page; }