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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-email.git


The following commit(s) were added to refs/heads/master by this push:
     new 4562ff4  Javadoc
4562ff4 is described below

commit 4562ff4299ee98cad71acf2c58ad451faebbbd75
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu May 23 09:17:16 2024 -0400

    Javadoc
---
 .../main/java/org/apache/commons/mail2/jakarta/Email.java  | 14 +++++++-------
 .../main/java/org/apache/commons/mail2/javax/Email.java    | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java
 
b/commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java
index a83b452..1a705b4 100644
--- 
a/commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java
+++ 
b/commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java
@@ -1198,7 +1198,7 @@ public abstract class Email {
      * Sets the content.
      *
      * @param content the content.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setContent(final Object content) {
@@ -1222,7 +1222,7 @@ public abstract class Email {
      * Sets the content type.
      *
      * @param contentType the content type.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setContentType(final String contentType) {
@@ -1288,7 +1288,7 @@ public abstract class Email {
      * Sets the From address.
      *
      * @param fromAddress the From address.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setFromAddress(final InternetAddress fromAddress) {
@@ -1405,7 +1405,7 @@ public abstract class Email {
      * Sets whether to use POP3 before SMTP, and if so the settings.
      *
      * @param popBeforeSmtp whether to use POP3 before SMTP, and if so the 
settings.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopBeforeSmtp(final boolean popBeforeSmtp) {
@@ -1434,7 +1434,7 @@ public abstract class Email {
      * Sets the POP3 host.
      *
      * @param popHost The POP3 host.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopHost(final String popHost) {
@@ -1447,7 +1447,7 @@ public abstract class Email {
      * Sets the POP3 password.
      *
      * @param popPassword the POP3 password.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopPassword(final String popPassword) {
@@ -1460,7 +1460,7 @@ public abstract class Email {
      * Sets the POP3 user name.
      *
      * @param popUserName the POP3 user name.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopUsername(final String popUserName) {
diff --git 
a/commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java 
b/commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java
index b036223..c19f4bc 100644
--- 
a/commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java
+++ 
b/commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java
@@ -1197,7 +1197,7 @@ public abstract class Email {
      * Sets the content.
      *
      * @param content the content.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setContent(final Object content) {
@@ -1221,7 +1221,7 @@ public abstract class Email {
      * Sets the content type.
      *
      * @param contentType the content type.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setContentType(final String contentType) {
@@ -1287,7 +1287,7 @@ public abstract class Email {
      * Sets the From address.
      *
      * @param fromAddress the From address.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setFromAddress(final InternetAddress fromAddress) {
@@ -1404,7 +1404,7 @@ public abstract class Email {
      * Sets whether to use POP3 before SMTP, and if so the settings.
      *
      * @param popBeforeSmtp whether to use POP3 before SMTP, and if so the 
settings.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopBeforeSmtp(final boolean popBeforeSmtp) {
@@ -1433,7 +1433,7 @@ public abstract class Email {
      * Sets the POP3 host.
      *
      * @param popHost The POP3 host.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopHost(final String popHost) {
@@ -1446,7 +1446,7 @@ public abstract class Email {
      * Sets the POP3 password.
      *
      * @param popPassword the POP3 password.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopPassword(final String popPassword) {
@@ -1459,7 +1459,7 @@ public abstract class Email {
      * Sets the POP3 user name.
      *
      * @param popUserName the POP3 user name.
-     * @return this.
+     * @return {@code this} instance.
      * @since 1.6.0
      */
     public Email setPopUsername(final String popUserName) {

Reply via email to