ccmailer-44x /src/jira_patches/CreateIssueHandler.java.patch

Language Patch File Lines 25
MD5 Hash 5264b85f7c17a30ad194e494750ca068
Repository https://bitbucket.org/redradish/ccmailer-44x View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- ../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));
     }
Back to Top