JAMES-2529 Remove final varaiables
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/e06fb4ac Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/e06fb4ac Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/e06fb4ac Branch: refs/heads/master Commit: e06fb4ac82423a0eed9aa31fb3805a5a85d1fb5b Parents: 59b0e8b Author: Benoit Tellier <btell...@linagora.com> Authored: Thu Aug 30 10:09:37 2018 +0700 Committer: Antoine Duprat <adup...@linagora.com> Committed: Thu Aug 30 15:07:01 2018 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/e06fb4ac/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java ---------------------------------------------------------------------- diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java b/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java index d762120..aea0b75 100644 --- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java +++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/MailMatcher.java @@ -199,7 +199,7 @@ public interface MailMatcher { @Override public boolean match(Mail mail) { try { - final Stream<String> headerLines = headerExtractor.apply(mail); + Stream<String> headerLines = headerExtractor.apply(mail); return contentMatcher.match(headerLines, ruleValue); } catch (Exception e) { LOGGER.error("error while extracting mail header", e); --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org