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 ad...@apache.org on 2017/11/16 14:19:58 UTC

[11/18] james-project git commit: JAMES-2220 be consistent when setting name in MailImpl

JAMES-2220 be consistent when setting name in MailImpl


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/fe86766a
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/fe86766a
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/fe86766a

Branch: refs/heads/master
Commit: fe86766a41b29af28fbe4cfdfa506e9e0ea964ce
Parents: 2133702
Author: Matthieu Baechler <ma...@apache.org>
Authored: Tue Nov 14 15:48:46 2017 +0100
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Thu Nov 16 12:30:31 2017 +0100

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/james/server/core/MailImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/fe86766a/server/container/core/src/main/java/org/apache/james/server/core/MailImpl.java
----------------------------------------------------------------------
diff --git a/server/container/core/src/main/java/org/apache/james/server/core/MailImpl.java b/server/container/core/src/main/java/org/apache/james/server/core/MailImpl.java
index a9e3df0..86f3919 100644
--- a/server/container/core/src/main/java/org/apache/james/server/core/MailImpl.java
+++ b/server/container/core/src/main/java/org/apache/james/server/core/MailImpl.java
@@ -156,7 +156,7 @@ public class MailImpl implements Disposable, Mail {
      */
     public MailImpl(String name, MailAddress sender, Collection<MailAddress> recipients) {
         this();
-        this.name = name;
+        setName(name);
         this.sender = sender;
 
         // Copy the recipient list


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