geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r379525 - /geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java
Date Tue, 21 Feb 2006 16:39:16 GMT
Author: kevan
Date: Tue Feb 21 08:39:15 2006
New Revision: 379525

URL: http://svn.apache.org/viewcvs?rev=379525&view=rev
Log:
Add simple protocolConnect implementation to NullTransport. See GERONIMO-1643

Modified:
    geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java

Modified: geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java?rev=379525&r1=379524&r2=379525&view=diff
==============================================================================
--- geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java (original)
+++ geronimo/trunk/modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java Tue Feb
21 08:39:15 2006
@@ -34,4 +34,8 @@
     public void sendMessage(Message message, Address[] addresses) throws MessagingException
{
         // do nothing
     }
+
+    protected boolean protocolConnect(String host, int port, String user, String password)
throws MessagingException {
+        return true; // always connect
+    }
 }



Mime
View raw message