jeantil commented on code in PR #2695: URL: https://github.com/apache/james-project/pull/2695#discussion_r2022983729
########## mailet/api/src/main/java/org/apache/mailet/Mailet.java: ########## @@ -127,14 +129,19 @@ public interface Mailet { /** * Returns information about the mailet, such as author, version and * copyright. + * <p> + * By default, this method returns an empty string. Override this method + * to have it return a meaningful value. * * @return the Mailet information (as a plain text string) */ - String getMailetInfo(); + default String getMailetInfo() { + return ""; Review Comment: MailetInfo is not the same as the mailet name, the javadoc says its about > author, version and copyright but using `SimpleName` is an interesting idea for the next PR ;) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org