This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit c65086336bb0975c2115616c037a0a9c186536b2
Author: Tran Tien Duc <[email protected]>
AuthorDate: Mon Dec 16 10:33:28 2019 +0700

    [Refactoring] Remove unused constructors in LMTPProtocolHandlerChain
---
 .../apache/james/protocols/lmtp/LMTPProtocolHandlerChain.java  | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/protocols/lmtp/src/main/java/org/apache/james/protocols/lmtp/LMTPProtocolHandlerChain.java
 
b/protocols/lmtp/src/main/java/org/apache/james/protocols/lmtp/LMTPProtocolHandlerChain.java
index 7a21cca..86332d2 100644
--- 
a/protocols/lmtp/src/main/java/org/apache/james/protocols/lmtp/LMTPProtocolHandlerChain.java
+++ 
b/protocols/lmtp/src/main/java/org/apache/james/protocols/lmtp/LMTPProtocolHandlerChain.java
@@ -25,7 +25,6 @@ import org.apache.james.metrics.api.NoopMetricFactory;
 import org.apache.james.protocols.api.handler.CommandDispatcher;
 import org.apache.james.protocols.api.handler.CommandHandlerResultLogger;
 import org.apache.james.protocols.api.handler.ProtocolHandler;
-import org.apache.james.protocols.api.handler.WiringException;
 import org.apache.james.protocols.lmtp.core.DataLineMessageHookHandler;
 import org.apache.james.protocols.lmtp.core.LhloCmdHandler;
 import org.apache.james.protocols.lmtp.core.ReceivedDataLineFilter;
@@ -44,7 +43,6 @@ import org.apache.james.protocols.smtp.core.UnknownCmdHandler;
 import org.apache.james.protocols.smtp.core.VrfyCmdHandler;
 import org.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension;
 import org.apache.james.protocols.smtp.core.esmtp.StartTlsCmdHandler;
-import org.apache.james.protocols.smtp.hook.Hook;
 
 /**
  * Special {@link SMTPProtocolHandlerChain} sub-class which should be used to 
build the chain for LMTP.
@@ -55,14 +53,6 @@ public class LMTPProtocolHandlerChain extends 
SMTPProtocolHandlerChain {
         super(new NoopMetricFactory());
     }
 
-    public LMTPProtocolHandlerChain(boolean addDefault) {
-        super(new NoopMetricFactory(), addDefault);
-    }
-
-    public LMTPProtocolHandlerChain(Hook... hooks) throws WiringException {
-        super(new NoopMetricFactory(), hooks);
-    }
-
     @Override
     protected List<ProtocolHandler> initDefaultHandlers() {
         List<ProtocolHandler> defaultHandlers = new ArrayList<>();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to