geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r582797 - in /geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail: FetchProfile.java UIDFolder.java
Date Mon, 08 Oct 2007 12:29:13 GMT
Author: rickmcguire
Date: Mon Oct  8 05:29:12 2007
New Revision: 582797

URL: http://svn.apache.org/viewvc?rev=582797&view=rev
Log:
GERONIMO-3515 Profile item names do not match Sun implementation.


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

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/FetchProfile.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/FetchProfile.java?rev=582797&r1=582796&r2=582797&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/FetchProfile.java
(original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/FetchProfile.java
Mon Oct  8 05:29:12 2007
@@ -43,7 +43,7 @@
          * This includes all the headers about the content including but not limited to:
          * Content-Type, Content-Disposition, Content-Description, Size and Line-Count
          */
-        public static final Item CONTENT_INFO = new Item("Content-Info");
+        public static final Item CONTENT_INFO = new Item("CONTENT_INFO");
 
         /**
          * Item for fetching information about the envelope of the message.
@@ -54,13 +54,13 @@
          * For IMAP4, this should also include the ENVELOPE data item.
          *
          */
-        public static final Item ENVELOPE = new Item("Envelope");
+        public static final Item ENVELOPE = new Item("ENVELOPE");
 
         /**
          * Item for fetching information about message flags.
          * Generall corresponds to the X-Flags header.
          */
-        public static final Item FLAGS = new Item("Flags");
+        public static final Item FLAGS = new Item("FLAGS");
 
         protected Item(String name) {
             // hmmm, name is passed in but we are not allowed to provide accessors

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/UIDFolder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/UIDFolder.java?rev=582797&r1=582796&r2=582797&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/UIDFolder.java
(original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/UIDFolder.java
Mon Oct  8 05:29:12 2007
@@ -100,7 +100,7 @@
      * Special profile item used for fetching UID information.
      */
     public static class FetchProfileItem extends FetchProfile.Item {
-        public static final FetchProfileItem UID = new FetchProfileItem("Uid");
+        public static final FetchProfileItem UID = new FetchProfileItem("UID");
 
         protected FetchProfileItem(String name) {
             super(name);



Mime
View raw message