geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r703114 - /geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java
Date Thu, 09 Oct 2008 10:17:51 GMT
Author: rickmcguire
Date: Thu Oct  9 03:17:50 2008
New Revision: 703114

URL: http://svn.apache.org/viewvc?rev=703114&view=rev
Log:
GERONIMO-4344 IMAPMessage#updateHeader updates header with wrong value

Patch provided by Andreas Veithen. 

Modified:
    geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java

Modified: geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java
URL: http://svn.apache.org/viewvc/geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java?rev=703114&r1=703113&r2=703114&view=diff
==============================================================================
--- geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java
(original)
+++ geronimo/javamail/trunk/geronimo-javamail_1.4/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/store/imap/IMAPMessage.java
Thu Oct  9 03:17:50 2008
@@ -712,7 +712,7 @@
      */
     protected void updateHeader(String header, InternetAddress[] addresses) throws MessagingException
{
         if (addresses != null) {
-            headers.addHeader(header, InternetAddress.toString(envelope.from));
+            headers.addHeader(header, InternetAddress.toString(addresses));
         }
     }
 



Mime
View raw message