Skip to content

Commit

Permalink
Remove extra blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 26, 2023
1 parent 0e3ebae commit 87c8c88
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/apache/commons/mail/Email.java
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,6 @@ else if (this.emailBody != null)
this.toInternetAddressArray(this.replyList));
}


if (!this.headers.isEmpty())
{
for (final Map.Entry<String, String> entry : this.headers.entrySet())
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/apache/commons/mail/EmailConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ public final class EmailConstants
*/
public static final String MAIL_FROM = "mail.from";


/** Hide constructor. */
private EmailConstants()
{
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/apache/commons/mail/HtmlEmail.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public class HtmlEmail extends MultiPartEmail
/** suffix for default HTML mail. */
private static final String HTML_MESSAGE_END = "</pre></body></html>";


/**
* Text part of the message. This will be used as alternative text if
* the email client does not support HTML messages.
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/apache/commons/mail/EmailTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,6 @@ public void testAddBcc2() throws Exception

final String[] testEmailNames = {"Name1", "", null};


final List<InternetAddress> arrExpected = new ArrayList<>();
arrExpected.add(new InternetAddress("me@home.com", "Name1"));
arrExpected.add(new InternetAddress("joe.doe@apache.org"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public void testStrictConstructor() throws Exception
// Prove InternetAddress constructor is throwing exception.
// ====================================================================


// test Invalid Email addresses
for (int i = 0; i < ARR_INVALID_EMAILS.length; i++)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public void testNonIDNEmailAddressToAsciiConversion()
assertEquals("me@home.com", idnEmailConverter.toASCII("me@home.com"));
}


@Test
public void testInternetAddressToAsciiConversion() throws Exception
{
Expand Down

0 comments on commit 87c8c88

Please sign in to comment.