james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r596978 - in /james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager: MessageResult.java impl/MessageResultImpl.java
Date Wed, 21 Nov 2007 08:18:29 GMT
Author: rdonkin
Date: Wed Nov 21 00:18:28 2007
New Revision: 596978

URL: http://svn.apache.org/viewvc?rev=596978&view=rev
Log:
Removed unused and unimplemented message result type.

Modified:
    james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/MessageResult.java
    james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/impl/MessageResultImpl.java

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/MessageResult.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/MessageResult.java?rev=596978&r1=596977&r2=596978&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/MessageResult.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/MessageResult.java
Wed Nov 21 00:18:28 2007
@@ -21,14 +21,11 @@
 
 import java.util.Date;
 import java.util.Iterator;
-import java.util.List;
 
 import javax.mail.Flags;
 import javax.mail.MessagingException;
 import javax.mail.internet.MimeMessage;
 
-import org.apache.mailet.Mail;
-
 /**
  * <p>
  * Used to get specific informations about a Message without dealing with a
@@ -72,11 +69,6 @@
      */
     public static final int MIME_MESSAGE = 0x01;
 
-    /**
-     * return a complete mail object
-     */
-    public static final int MAIL = 0x02;
-
     public static final int UID = 0x04;
 
     /**
@@ -139,8 +131,6 @@
      * 
      */
     Flags getFlags();
-
-    Mail getMail();
 
     String getKey();
     

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/impl/MessageResultImpl.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/impl/MessageResultImpl.java?rev=596978&r1=596977&r2=596978&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/impl/MessageResultImpl.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/impl/MessageResultImpl.java
Wed Nov 21 00:18:28 2007
@@ -30,7 +30,6 @@
 import org.apache.commons.collections.IteratorUtils;
 import org.apache.james.mailboxmanager.MessageResult;
 import org.apache.james.mailboxmanager.MessageResultUtils;
-import org.apache.mailet.Mail;
 
 /**
  * Bean based implementation.
@@ -129,11 +128,6 @@
 
     public Flags getFlags() {
         return flags;
-    }
-
-    public Mail getMail() {
-        // TODO implement or remove
-        return null;
     }
 
     public String getKey() {



---------------------------------------------------------------------
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