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

commit b4b15c319b0fdcb5f51355032e84d75bdad8c9ca
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Dec 15 14:48:16 2023 -0500

    Better parameter name
---
 src/main/java/org/apache/commons/mail/HtmlEmail.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/java/org/apache/commons/mail/HtmlEmail.java 
b/src/main/java/org/apache/commons/mail/HtmlEmail.java
index fa6869e..11052ed 100644
--- a/src/main/java/org/apache/commons/mail/HtmlEmail.java
+++ b/src/main/java/org/apache/commons/mail/HtmlEmail.java
@@ -502,16 +502,16 @@ public class HtmlEmail extends MultiPartEmail {
     /**
      * Sets the HTML content.
      *
-     * @param aHtml A String.
+     * @param html A String.
      * @return An HtmlEmail.
      * @throws EmailException see javax.mail.internet.MimeBodyPart for 
definitions
      * @since 1.0
      */
-    public HtmlEmail setHtmlMsg(final String aHtml) throws EmailException {
-        if (EmailUtils.isEmpty(aHtml)) {
+    public HtmlEmail setHtmlMsg(final String html) throws EmailException {
+        if (EmailUtils.isEmpty(html)) {
             throw new EmailException("Invalid message supplied");
         }
-        this.html = aHtml;
+        this.html = html;
         return this;
     }
 
@@ -543,16 +543,16 @@ public class HtmlEmail extends MultiPartEmail {
     /**
      * Sets the text content.
      *
-     * @param aText A String.
+     * @param text A String.
      * @return An HtmlEmail.
      * @throws EmailException see javax.mail.internet.MimeBodyPart for 
definitions
      * @since 1.0
      */
-    public HtmlEmail setTextMsg(final String aText) throws EmailException {
-        if (EmailUtils.isEmpty(aText)) {
+    public HtmlEmail setTextMsg(final String text) throws EmailException {
+        if (EmailUtils.isEmpty(text)) {
             throw new EmailException("Invalid message supplied");
         }
-        this.text = aText;
+        this.text = text;
         return this;
     }
 }

Reply via email to