JAMES-2366 reduce getMappings method scope to private

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

Branch: refs/heads/master
Commit: e2c0bcdb036197fd47ad5af956be2ecec267e3a8
Parents: 6a5b348
Author: Matthieu Baechler <matth...@apache.org>
Authored: Wed Apr 18 15:41:54 2018 +0200
Committer: Matthieu Baechler <matth...@apache.org>
Committed: Tue Apr 24 14:45:26 2018 +0200

----------------------------------------------------------------------
 .../org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/e2c0bcdb/server/data/data-library/src/main/java/org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java
----------------------------------------------------------------------
diff --git 
a/server/data/data-library/src/main/java/org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java
 
b/server/data/data-library/src/main/java/org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java
index b842dc7..21066af 100644
--- 
a/server/data/data-library/src/main/java/org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java
+++ 
b/server/data/data-library/src/main/java/org/apache/james/rrt/lib/AbstractRecipientRewriteTable.java
@@ -100,7 +100,7 @@ public abstract class AbstractRecipientRewriteTable 
implements RecipientRewriteT
         return getMappings(User.fromLocalPartWithDomain(user, domain), 
mappingLimit);
     }
 
-    public Mappings getMappings(User user, int mappingLimit) throws 
ErrorMappingException, RecipientRewriteTableException {
+    private Mappings getMappings(User user, int mappingLimit) throws 
ErrorMappingException, RecipientRewriteTableException {
 
         // We have to much mappings throw ErrorMappingException to avoid
         // infinity loop


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

Reply via email to