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 eec28aea2aea56475abeefebb6ddd1e78fa9de49 Author: Benoit Tellier <[email protected]> AuthorDate: Sun Jan 30 22:07:00 2022 +0700 [REFACTORING] Reduce visibility of a ethod that returns null --- .../apache/james/transport/mailets/remote/delivery/MessageComposer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MessageComposer.java b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MessageComposer.java index c438feb..4c1025c 100644 --- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MessageComposer.java +++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/MessageComposer.java @@ -46,7 +46,7 @@ public class MessageComposer { * @param e The MessagingException to use * @return logString */ - public String fromException(Exception e) { + private String fromException(Exception e) { if (e.getClass().getName().endsWith(".SMTPSendFailedException")) { return "RemoteHost said: " + e.getMessage(); } else if (e instanceof SendFailedException) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
