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 b1bc7d6c8e0552425ff734dc460ff0a1f76f0ed1 Author: Raphael Ouazana <[email protected]> AuthorDate: Fri Dec 20 16:08:33 2019 +0100 [Refactor] Rename misleading method name --- .../main/java/org/apache/james/modules/protocols/SmtpGuiceProbe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/container/guice/protocols/smtp/src/main/java/org/apache/james/modules/protocols/SmtpGuiceProbe.java b/server/container/guice/protocols/smtp/src/main/java/org/apache/james/modules/protocols/SmtpGuiceProbe.java index 178c23e..cb2f44a 100644 --- a/server/container/guice/protocols/smtp/src/main/java/org/apache/james/modules/protocols/SmtpGuiceProbe.java +++ b/server/container/guice/protocols/smtp/src/main/java/org/apache/james/modules/protocols/SmtpGuiceProbe.java @@ -34,7 +34,7 @@ public class SmtpGuiceProbe implements GuiceProbe { public enum SmtpServerConnectedType { SMTP_GLOBAL_SERVER(SmtpGuiceProbe::getSmtpPort), - SMTP_START_TLS_SERVER(SmtpGuiceProbe::getSmtpsPort); + SMTP_START_TLS_SERVER(SmtpGuiceProbe::getSmtpStartTlsPort); private final Function<SmtpGuiceProbe, Port> portExtractor; @@ -58,7 +58,7 @@ public class SmtpGuiceProbe implements GuiceProbe { return getPort(server -> true); } - public Port getSmtpsPort() { + public Port getSmtpStartTlsPort() { return getPort(AbstractConfigurableAsyncServer::getStartTLSSupported); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
