You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/12/11 10:44:11 UTC

[james-project] 07/15: JAMES-2543 minor cleanups that slipped review

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 74332484f2802b712f1e3d40da0ec5602ca21a20
Author: Jean Helou <jh...@codamens.fr>
AuthorDate: Mon Dec 7 09:51:37 2020 +0100

    JAMES-2543 minor cleanups that slipped review
---
 .../main/java/org/apache/james/mpt/smtp/SmtpStarttlsCommandTest.java    | 2 +-
 .../testing/src/main/java/org/apache/james/utils/FakeSmtpExtension.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 89925b6..9d25c61 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
@@ -35,7 +35,7 @@ public abstract class SmtpStarttlsCommandTest {
     private SimpleScriptedTestProtocol scriptedTest;
 
     @BeforeEach
-    public void setUp(SmtpHostSystem hostSystem) throws Exception {
+    void setUp(SmtpHostSystem hostSystem) throws Exception {
         this.hostSystem = hostSystem;
         String scriptDir = "/org/apache/james/smtp/scripts/";
         scriptedTest = new SimpleScriptedTestProtocol(scriptDir, hostSystem)
diff --git a/server/testing/src/main/java/org/apache/james/utils/FakeSmtpExtension.java b/server/testing/src/main/java/org/apache/james/utils/FakeSmtpExtension.java
index a2f59c3..5eb554d 100644
--- a/server/testing/src/main/java/org/apache/james/utils/FakeSmtpExtension.java
+++ b/server/testing/src/main/java/org/apache/james/utils/FakeSmtpExtension.java
@@ -67,7 +67,7 @@ public class FakeSmtpExtension implements
         return withSmtpPort(SMTP_PORT);
     }
 
-    private static  GenericContainer<?> fakeSmtpContainer() {
+    private static GenericContainer<?> fakeSmtpContainer() {
         return new GenericContainer<>(Images.FAKE_SMTP)
             .waitingFor(new HostPortWaitStrategy()
                 .withRateLimiter(RateLimiters.TWENTIES_PER_SECOND)


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