james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [11/24] james-project git commit: JAMES-2366 RRT should be a final field in RRT management
Date Fri, 20 Apr 2018 02:12:56 GMT
JAMES-2366 RRT should be a final field in RRT management


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

Branch: refs/heads/master
Commit: 8fbd596e8f2f268393a19c201b0e8927fdab4d9d
Parents: 860f7b8
Author: benwa <btellier@linagora.com>
Authored: Fri Apr 6 10:12:37 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Thu Apr 19 11:12:07 2018 +0700

----------------------------------------------------------------------
 .../james/rrt/lib/RecipientRewriteTableManagement.java   | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/8fbd596e/server/data/data-library/src/main/java/org/apache/james/rrt/lib/RecipientRewriteTableManagement.java
----------------------------------------------------------------------
diff --git a/server/data/data-library/src/main/java/org/apache/james/rrt/lib/RecipientRewriteTableManagement.java
b/server/data/data-library/src/main/java/org/apache/james/rrt/lib/RecipientRewriteTableManagement.java
index d58c7b8..3ddf71e 100644
--- a/server/data/data-library/src/main/java/org/apache/james/rrt/lib/RecipientRewriteTableManagement.java
+++ b/server/data/data-library/src/main/java/org/apache/james/rrt/lib/RecipientRewriteTableManagement.java
@@ -36,14 +36,11 @@ import com.google.common.collect.ImmutableMap;
  */
 public class RecipientRewriteTableManagement extends StandardMBean implements RecipientRewriteTableManagementMBean
{
 
-    private RecipientRewriteTable rrt;
-
-    protected RecipientRewriteTableManagement() throws NotCompliantMBeanException {
-        super(RecipientRewriteTableManagementMBean.class);
-    }
-
+    private final RecipientRewriteTable rrt;
+    
     @Inject
-    public void setManageableRecipientRewriteTable(RecipientRewriteTable rrt) {
+    protected RecipientRewriteTableManagement(RecipientRewriteTable rrt) throws NotCompliantMBeanException
{
+        super(RecipientRewriteTableManagementMBean.class);
         this.rrt = rrt;
     }
 


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