JAMES-2655 Simplify JPA RRT javaDoc These details can be infered via java source code analysis. As no description is added, they are useless.
Not to mention that this generated intelliJ warnings/errors Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/fb43afc2 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/fb43afc2 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/fb43afc2 Branch: refs/heads/master Commit: fb43afc2bec1d4e23c35e8220ce9f523c9b5c43d Parents: 12bf59e Author: Benoit Tellier <btell...@linagora.com> Authored: Wed Jan 30 11:56:07 2019 +0700 Committer: Benoit Tellier <btell...@linagora.com> Committed: Wed Jan 30 17:55:18 2019 +0700 ---------------------------------------------------------------------- .../james/rrt/jpa/JPARecipientRewriteTable.java | 16 ---------------- 1 file changed, 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/fb43afc2/server/data/data-jpa/src/main/java/org/apache/james/rrt/jpa/JPARecipientRewriteTable.java ---------------------------------------------------------------------- diff --git a/server/data/data-jpa/src/main/java/org/apache/james/rrt/jpa/JPARecipientRewriteTable.java b/server/data/data-jpa/src/main/java/org/apache/james/rrt/jpa/JPARecipientRewriteTable.java index 2850539..0df606d 100644 --- a/server/data/data-jpa/src/main/java/org/apache/james/rrt/jpa/JPARecipientRewriteTable.java +++ b/server/data/data-jpa/src/main/java/org/apache/james/rrt/jpa/JPARecipientRewriteTable.java @@ -54,8 +54,6 @@ public class JPARecipientRewriteTable extends AbstractRecipientRewriteTable { /** * Set the entity manager to use. - * - * @param entityManagerFactory */ @Inject @PersistenceUnit(unitName = "James") @@ -153,11 +151,7 @@ public class JPARecipientRewriteTable extends AbstractRecipientRewriteTable { /** * Update the mapping for the given user and domain * - * @param user the user - * @param domain the domain - * @param mapping the mapping * @return true if update was successfully - * @throws RecipientRewriteTableException */ private boolean doUpdateMapping(MappingSource source, String mapping) throws RecipientRewriteTableException { EntityManager entityManager = entityManagerFactory.createEntityManager(); @@ -188,11 +182,6 @@ public class JPARecipientRewriteTable extends AbstractRecipientRewriteTable { /** * Remove a mapping for the given user and domain - * - * @param user the user - * @param domain the domain - * @param mapping the mapping - * @throws RecipientRewriteTableException */ private void doRemoveMapping(MappingSource source, String mapping) throws RecipientRewriteTableException { EntityManager entityManager = entityManagerFactory.createEntityManager(); @@ -220,11 +209,6 @@ public class JPARecipientRewriteTable extends AbstractRecipientRewriteTable { /** * Add mapping for given user and domain - * - * @param user the user - * @param domain the domain - * @param mapping the mapping - * @throws RecipientRewriteTableException */ private void doAddMapping(MappingSource source, String mapping) throws RecipientRewriteTableException { EntityManager entityManager = entityManagerFactory.createEntityManager(); --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org