You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2016/08/30 18:01:39 UTC
[04/10] james-project git commit: MAILET-112 Remove redundant comments
MAILET-112 Remove redundant comments
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/fc5e13af
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/fc5e13af
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/fc5e13af
Branch: refs/heads/master
Commit: fc5e13af9cc4906151fc77f853a66be4f1759ff0
Parents: ef9f4a9
Author: Benoit Tellier <bt...@linagora.com>
Authored: Tue Aug 30 17:36:56 2016 +0700
Committer: Benoit Tellier <bt...@linagora.com>
Committed: Wed Aug 31 00:59:27 2016 +0700
----------------------------------------------------------------------
.../org/apache/james/transport/matchers/FetchedFromTest.java | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/fc5e13af/mailet/standard/src/test/java/org/apache/james/transport/matchers/FetchedFromTest.java
----------------------------------------------------------------------
diff --git a/mailet/standard/src/test/java/org/apache/james/transport/matchers/FetchedFromTest.java b/mailet/standard/src/test/java/org/apache/james/transport/matchers/FetchedFromTest.java
index faeb337..6250162 100644
--- a/mailet/standard/src/test/java/org/apache/james/transport/matchers/FetchedFromTest.java
+++ b/mailet/standard/src/test/java/org/apache/james/transport/matchers/FetchedFromTest.java
@@ -17,7 +17,6 @@
* under the License. *
****************************************************************/
-
package org.apache.james.transport.matchers;
import static org.assertj.core.api.Assertions.assertThat;
@@ -51,7 +50,6 @@ public class FetchedFromTest {
mailAddress2 = new MailAddress("you@apache.org");
}
- // test if the Header was matched
@Test
public void matchShouldReturnMatchWhenFetchFromHeaderHoldsRightValue() throws MessagingException {
FakeMail fakeMail = FakeMail.builder()
@@ -62,7 +60,6 @@ public class FetchedFromTest {
assertThat(matcher.match(fakeMail)).containsExactly(mailAddress1, mailAddress2);
}
- // test if the Header was not matched
@Test
public void matchShouldReturnNotMatchWhenFetchFromHeaderHoldsWrongValue() throws MessagingException {
FakeMail fakeMail = FakeMail.builder()
@@ -73,7 +70,6 @@ public class FetchedFromTest {
assertThat(matcher.match(fakeMail)).isNull();
}
- // test if the Header was removed after matched
@Test
public void matchShouldRemoveMatchingHeaders() throws MessagingException {
FakeMail fakeMail = FakeMail.builder()
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org