You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/19 02:43:10 UTC

[james-project] 08/43: [Refactoring] Remove unused method in FakeMailet context

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 5ff652add186852473f1e543913101b6f24c70de
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sun Nov 17 11:48:55 2019 +0700

    [Refactoring] Remove unused method in FakeMailet context
    
    storeMail is not defined in the API
---
 .../src/main/java/org/apache/mailet/base/test/FakeMailContext.java    | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mailet/test/src/main/java/org/apache/mailet/base/test/FakeMailContext.java b/mailet/test/src/main/java/org/apache/mailet/base/test/FakeMailContext.java
index 8dc8ce8..48090ec 100644
--- a/mailet/test/src/main/java/org/apache/mailet/base/test/FakeMailContext.java
+++ b/mailet/test/src/main/java/org/apache/mailet/base/test/FakeMailContext.java
@@ -542,10 +542,6 @@ public class FakeMailContext implements MailetContext {
         attributes.put(attribute.getName(), attribute);
     }
 
-    public void storeMail(MailAddress sender, MailAddress recipient, MimeMessage msg) throws MessagingException {
-        // trivial implementation
-    }
-
     /**
      * @deprecated use the generic dnsLookup method
      */


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