geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r151129 - in geronimo/trunk/specs/javamail/src/java/javax/mail: Session.java Transport.java
Date Thu, 03 Feb 2005 05:59:42 GMT
Author: adc
Date: Wed Feb  2 21:59:39 2005
New Revision: 151129

URL: http://svn.apache.org/viewcvs?view=rev&rev=151129
Log:
Undid one workaround and put in another.

Modified:
    geronimo/trunk/specs/javamail/src/java/javax/mail/Session.java
    geronimo/trunk/specs/javamail/src/java/javax/mail/Transport.java

Modified: geronimo/trunk/specs/javamail/src/java/javax/mail/Session.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/javamail/src/java/javax/mail/Session.java?view=diff&r1=151128&r2=151129
==============================================================================
--- geronimo/trunk/specs/javamail/src/java/javax/mail/Session.java (original)
+++ geronimo/trunk/specs/javamail/src/java/javax/mail/Session.java Wed Feb  2 21:59:39 2005
@@ -65,6 +65,11 @@
 
     private static final WeakHashMap providersByClassLoader = new WeakHashMap();
 
+    // TODO: Replace me w/ a proper loader please
+    static {
+        addressMap.put("rfc822", "smtp");
+    }
+
     /**
      * No public constrcutor allowed.
      */

Modified: geronimo/trunk/specs/javamail/src/java/javax/mail/Transport.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/javamail/src/java/javax/mail/Transport.java?view=diff&r1=151128&r2=151129
==============================================================================
--- geronimo/trunk/specs/javamail/src/java/javax/mail/Transport.java (original)
+++ geronimo/trunk/specs/javamail/src/java/javax/mail/Transport.java Wed Feb  2 21:59:39 2005
@@ -43,8 +43,7 @@
      * @throws MessagingException if there was a problem sending the message
      */
     public static void send(Message message) throws MessagingException {
-//        TODO: uncomment when MimeMessage imlements getAllRecipients();
-//        send(message, message.getAllRecipients());
+        send(message, message.getAllRecipients());
     }
 
     /**



Mime
View raw message