geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r399081 - /geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java
Date Tue, 02 May 2006 23:21:32 GMT
Author: rickmcguire
Date: Tue May  2 16:21:29 2006
New Revision: 399081

URL: http://svn.apache.org/viewcvs?rev=399081&view=rev
Log:
GERONIMO-1969 MailGBean not handling debug property correctly.


Modified:
    geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java

Modified: geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java?rev=399081&r1=399080&r2=399081&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java (original)
+++ geronimo/branches/1.1/modules/mail/src/java/org/apache/geronimo/mail/MailGBean.java Tue
May  2 16:21:29 2006
@@ -306,7 +306,8 @@
         if (transportProtocol != null) props.put("mail.transport.protocol", transportProtocol);
         if (host != null) props.put("mail.host", host);
         if (user != null) props.put("mail.user", user);
-        if (debug != null) props.put("mail.debug", debug);
+        // this needs to be translated into a string version.
+        if (debug != null) props.put("mail.debug", debug.toString());
 
         if (Boolean.TRUE.equals(useDefault)) {
             if (authenticator == null) {



Mime
View raw message