james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [3/4] james-project git commit: JAMES-2441 Cleanup some rule chains
Date Wed, 04 Jul 2018 08:59:07 GMT
JAMES-2441 Cleanup some rule chains


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

Branch: refs/heads/master
Commit: 5c7ac51225860cf1d951eb5e4012c1cb268fdb52
Parents: 90294f6
Author: benwa <btellier@linagora.com>
Authored: Wed Jul 4 11:15:12 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 4 15:58:29 2018 +0700

----------------------------------------------------------------------
 .../java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/5c7ac512/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java
----------------------------------------------------------------------
diff --git a/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java
b/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java
index efc3a28..a0c110e 100644
--- a/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java
+++ b/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java
@@ -24,7 +24,6 @@ import org.apache.james.mpt.script.SimpleScriptedTestProtocol;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
-import org.junit.rules.RuleChain;
 import org.junit.rules.TemporaryFolder;
 
 public abstract class SmtpStarttlsCommandTest {
@@ -34,10 +33,8 @@ public abstract class SmtpStarttlsCommandTest {
     public static final String USER_AT_DOMAIN = USER + "@" + DOMAIN;
     public static final String PASSWORD = "secret";
 
-    private final TemporaryFolder folder = new TemporaryFolder();
-    
     @Rule
-    public final RuleChain chain = RuleChain.outerRule(folder);
+    public final TemporaryFolder folder = new TemporaryFolder();
 
     protected abstract SmtpHostSystem createSmtpHostSystem();
     


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


Mime
View raw message