/** * Get the subject for the email. * * @param event * The event that matched criteria to cause the notification. * @return the subject for the email. */ protected String getSubject(Event event) { return findHeaderValue("Subject", getHeaders(event)); }
DigestService.digest(user.getId(), findHeaderValue("Subject", headers), messageForDigest.toString());