james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r653185 - /james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java
Date Sun, 04 May 2008 07:02:32 GMT
Author: rdonkin
Date: Sun May  4 00:02:31 2008
New Revision: 653185

URL: http://svn.apache.org/viewvc?rev=653185&view=rev
Log:
Removed unnecessary dependency on MailImpl

Modified:
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java?rev=653185&r1=653184&r2=653185&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/LogMessage.java
Sun May  4 00:02:31 2008
@@ -25,7 +25,6 @@
 import javax.mail.MessagingException;
 import javax.mail.internet.MimeMessage;
 
-import org.apache.james.core.MailImpl;
 import org.apache.mailet.GenericMailet;
 import org.apache.mailet.Mail;
 
@@ -71,8 +70,7 @@
      *
      * @param genericmail the mail to process
      */
-    public void service(Mail genericmail) {
-        MailImpl mail = (MailImpl)genericmail;
+    public void service(Mail mail) {
         log(new StringBuffer(160).append("Logging mail ").append(mail.getName()).toString());
         if (comment != null) log(comment);
         try {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message