/src/jira_patches/CreateIssueHandler.java.patch
Patch | 24 lines | 23 code | 1 blank | 0 comment | 0 complexity | 5264b85f7c17a30ad194e494750ca068 MD5 | raw file
- --- ../atlassian-jira-4.4.5-source/jira-project/jira-components/jira-core/src/main/java/com/atlassian/jira/service/util/handler/CreateIssueHandler.java 2012-02-15 21:13:22.000000000 +1100
- +++ src/main/java/com/atlassian/jira/service/util/handler/redradish/CreateIssueHandler.java 2012-03-14 12:42:20.343607632 +1100
- @@ -1,4 +1,11 @@
- -package com.atlassian.jira.service.util.handler;
- +package com.atlassian.jira.service.util.handler.redradish;
- +import com.atlassian.jira.service.util.handler.AbstractMessageHandler;
- +/* CCMailer: Identical to {@link com.atlassian.jira.service.util.handler.CreateIssueHandler}, except
- + * {@link #getDescription(com.opensymphony.user.User,javax.mail.Message)} is protected, not private, as it is for
- + * {@link com.atlassian.jira.service.util.handler.FullCommentHandler#getEmailBody(javax.mail.Message)} and
- + * {@link com.atlassian.jira.service.util.handler.NonQuotedCommentHandler#getEmailBody(javax.mail.Message)}.
- + * TODO: File a JRA to get this fixed.
- + */
-
- import com.atlassian.core.user.UserUtils;
- import com.atlassian.jira.component.ComponentAccessor;
- @@ -403,7 +410,7 @@
- * @return the description of the issue
- * @throws MessagingException if cannot find out who is the message from
- */
- - private String getDescription(User reporter, Message message) throws MessagingException
- + protected String getDescription(User reporter, Message message) throws MessagingException
- {
- return recordFromAddressForAnon(reporter, message, MailUtils.getBody(message));
- }