You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/04 17:42:40 UTC
(commons-email) 01/02: Use a code comment, not Javadoc inside a method
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/commons-email.git
commit 7237fcd42df4b4dcaa5fbfd8219803e87f0cdd28
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 4 12:42:03 2026 -0500
Use a code comment, not Javadoc inside a method
---
src/test/java/org/apache/commons/mail/SendWithAttachmentsTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/mail/SendWithAttachmentsTest.java b/src/test/java/org/apache/commons/mail/SendWithAttachmentsTest.java
index 4a0686e6..42d1fcee 100644
--- a/src/test/java/org/apache/commons/mail/SendWithAttachmentsTest.java
+++ b/src/test/java/org/apache/commons/mail/SendWithAttachmentsTest.java
@@ -103,8 +103,8 @@ public class SendWithAttachmentsTest extends AbstractEmailTest {
email.setFrom(strTestMailFrom);
email.addTo(strTestMailTo);
- /** File to be used to test file attachments (Must be valid) */
- /** Use umlaut characters to test if the file name is properly encoded */
+ // File to be used to test file attachments (Must be valid).
+ // Use umlaut characters to test if the file name is properly encoded.
// use short name to avoid folding. Otherwise need to unfold when checking result.
attachment.setName("a>ä, o>ö, u>ü, au>äu");
attachment.setDescription("Test Attachment Desc");