From 8945f461c008f782c1dca5b5d88a688993589a5e Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 29 Sep 2023 08:27:56 -0400 Subject: [PATCH] Use final parameters --- .../org/apache/commons/mail/util/AttachmentDataSource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/mail/util/AttachmentDataSource.java b/src/main/java/org/apache/commons/mail/util/AttachmentDataSource.java index f840ca40a..e8298cc0c 100644 --- a/src/main/java/org/apache/commons/mail/util/AttachmentDataSource.java +++ b/src/main/java/org/apache/commons/mail/util/AttachmentDataSource.java @@ -40,7 +40,7 @@ public class AttachmentDataSource implements DataSource * @param is the InputStream * @param type the MIME type */ - public AttachmentDataSource(InputStream is, String type) + public AttachmentDataSource(final nputStream is, final String type) { this.is = is; this.type = type; @@ -55,7 +55,7 @@ public AttachmentDataSource(InputStream is, String type) * @param type * @param name */ - public AttachmentDataSource(InputStream is, String type, String name) + public AttachmentDataSource(final InputStream is, final String type, final String name) { this.is = is; this.type = type;