Skip to content
Permalink
Browse files
Use final.
  • Loading branch information
garydgregory committed Nov 21, 2020
1 parent ddc6015 commit 045bcb56d00e8e5a6f305d2ccaa77801d2ad1b81
Showing 2 changed files with 2 additions and 2 deletions.
@@ -298,7 +298,7 @@ public void testSend() throws EmailException, IOException
final EmailAttachment attachment = new EmailAttachment();

/** File to used to test file attachments (Must be valid) */
File testFile = File.createTempFile("commons-email-testfile", ".txt");
final File testFile = File.createTempFile("commons-email-testfile", ".txt");
testFile.deleteOnExit();

// ====================================================================
@@ -111,7 +111,7 @@ public void testSendWAttachments() throws EmailException, IOException
final EmailAttachment attachment = new EmailAttachment();

/** File to used to test file attachments (Must be valid) */
File testFile = File.createTempFile("commons-email-testfile", ".txt");
final File testFile = File.createTempFile("commons-email-testfile", ".txt");

// ====================================================================
// Test Success

0 comments on commit 045bcb5

Please sign in to comment.