[seam-commits] Seam SVN: r9149 - trunk/src/main/org/jboss/seam/mail.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Sep 30 08:03:43 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-09-30 08:03:43 -0400 (Tue, 30 Sep 2008)
New Revision: 9149
Modified:
trunk/src/main/org/jboss/seam/mail/MailSession.java
Log:
Don't show port as null if not set
Modified: trunk/src/main/org/jboss/seam/mail/MailSession.java
===================================================================
--- trunk/src/main/org/jboss/seam/mail/MailSession.java 2008-09-29 19:40:50 UTC (rev 9148)
+++ trunk/src/main/org/jboss/seam/mail/MailSession.java 2008-09-30 12:03:43 UTC (rev 9149)
@@ -88,7 +88,14 @@
private void createSession()
{
- log.info("Creating JavaMail Session (" + getHost() + ':' + getPort() + ")");
+ if (getPort() != null)
+ {
+ log.info("Creating JavaMail Session (" + getHost() + ':' + getPort() + ")");
+ }
+ else
+ {
+ log.info("Creating JavaMail Session (" + getHost() + ")");
+ }
Properties properties = new Properties();
More information about the seam-commits
mailing list