geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r669135 - /geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java
Date Wed, 18 Jun 2008 11:20:20 GMT
Author: rickmcguire
Date: Wed Jun 18 04:20:20 2008
New Revision: 669135

URL: http://svn.apache.org/viewvc?rev=669135&view=rev
Log:
GERONIMO-4125 Mismatch in predefined Internet headers with Sun implementation

Discovered while testing Apache James with the geronimo javamail 



Modified:
    geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java?rev=669135&r1=669134&r2=669135&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java
(original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/InternetHeaders.java
Wed Jun 18 04:20:20 2008
@@ -53,20 +53,28 @@
      */
     public InternetHeaders() {
         // these are created in the preferred order of the headers.
-        addHeader("Return-path", null);
+        addHeader("Return-Path", null);
         addHeader("Received", null);
-        addHeader("Message-ID", null);
         addHeader("Resent-Date", null);
-        addHeader("Date", null);
         addHeader("Resent-From", null);
+        addHeader("Resent-Sender", null);
+        addHeader("Resent-To", null);
+        addHeader("Resent-Cc", null);
+        addHeader("Resent-Bcc", null);
+        addHeader("Resent-Message-Id", null);
+        addHeader("Date", null);
         addHeader("From", null);
-        addHeader("Reply-To", null);
         addHeader("Sender", null);
+        addHeader("Reply-To", null);
         addHeader("To", null);
-        addHeader("Subject", null);
         addHeader("Cc", null);
+        addHeader("Bcc", null);
+        addHeader("Message-Id", null);
         addHeader("In-Reply-To", null);
-        addHeader("Resent-Message-Id", null);
+        addHeader("References", null);
+        addHeader("Subject", null);
+        addHeader("Comments", null);
+        addHeader("Keywords", null);
         addHeader("Errors-To", null);
         addHeader("MIME-Version", null);
         addHeader("Content-Type", null);



Mime
View raw message