This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 1b24381bd6244f586a7fda673c67bad219e11bf6 Author: Matthieu Baechler <[email protected]> AuthorDate: Thu Nov 14 21:19:18 2019 +0100 [Refactoring] don't use @return in class description --- .../java/org/apache/james/mailetcontainer/impl/matchers/Or.java | 6 +++--- .../java/org/apache/james/mailetcontainer/impl/matchers/Xor.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Or.java b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Or.java index 36f5a9e..84ddc10 100644 --- a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Or.java +++ b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Or.java @@ -31,11 +31,11 @@ import org.apache.mailet.Matcher; /** * This is the Or CompositeMatcher - consider it to be a union of the * results. + * + * It returns recipients from the Or composition results of the child matchers. */ public class Or extends GenericCompositeMatcher { - /** - * @return Collection of Recipients from the Or composition results of the child matchers. - */ + @Override public Collection<MailAddress> match(Mail mail) throws MessagingException { HashSet<MailAddress> result = new HashSet<>(); diff --git a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Xor.java b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Xor.java index d2ba03d..c7c0fa9 100644 --- a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Xor.java +++ b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/impl/matchers/Xor.java @@ -36,11 +36,11 @@ import com.google.common.collect.Sets; * This is the Xor CompositeMatcher - consider it to be the inequality * operator for recipients. If any recipients match other matcher results * then the result does not include that recipient. + * + * It returns Recipients from the Xor composition of the child matchers. */ public class Xor extends GenericCompositeMatcher { - /** - * @return Collection of Recipients from the Xor composition of the child matchers. - */ + @Override public Collection<MailAddress> match(Mail mail) throws MessagingException { Collection<MailAddress> finalResult = null; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
