commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1509961 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java
Date Sat, 03 Aug 2013 11:28:24 GMT
Author: britter
Date: Sat Aug  3 11:28:24 2013
New Revision: 1509961

URL: http://svn.apache.org/r1509961
Log:
Remove unnecessary this qualifier

Modified:
    commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java?rev=1509961&r1=1509960&r2=1509961&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java
(original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailAttachmentTest.java
Sat Aug  3 11:28:24 2013
@@ -37,7 +37,7 @@ public class EmailAttachmentTest extends
     @Before
     public void setUpAttachmentTest()
     {
-        this.attachment = new EmailAttachment();
+        attachment = new EmailAttachment();
     }
 
     @Test
@@ -45,8 +45,8 @@ public class EmailAttachmentTest extends
     {
         for (int i = 0; i < testCharsValid.length; i++)
         {
-            this.attachment.setDescription(testCharsValid[i]);
-            assertEquals(testCharsValid[i], this.attachment.getDescription());
+            attachment.setDescription(testCharsValid[i]);
+            assertEquals(testCharsValid[i], attachment.getDescription());
         }
     }
 
@@ -55,8 +55,8 @@ public class EmailAttachmentTest extends
     {
         for (int i = 0; i < testCharsValid.length; i++)
         {
-            this.attachment.setName(testCharsValid[i]);
-            assertEquals(testCharsValid[i], this.attachment.getName());
+            attachment.setName(testCharsValid[i]);
+            assertEquals(testCharsValid[i], attachment.getName());
         }
     }
 
@@ -65,8 +65,8 @@ public class EmailAttachmentTest extends
     {
         for (int i = 0; i < testCharsValid.length; i++)
         {
-            this.attachment.setPath(testCharsValid[i]);
-            assertEquals(testCharsValid[i], this.attachment.getPath());
+            attachment.setPath(testCharsValid[i]);
+            assertEquals(testCharsValid[i], attachment.getPath());
         }
     }
 
@@ -82,8 +82,8 @@ public class EmailAttachmentTest extends
         for (int i = 0; i < tests.length; i++)
         {
             URL testURL = new URL(tests[i]);
-            this.attachment.setURL(testURL);
-            assertEquals(testURL, this.attachment.getURL());
+            attachment.setURL(testURL);
+            assertEquals(testURL, attachment.getURL());
         }
     }
 
@@ -92,8 +92,8 @@ public class EmailAttachmentTest extends
     {
         for (int i = 0; i < testCharsValid.length; i++)
         {
-            this.attachment.setDisposition(testCharsValid[i]);
-            assertEquals(testCharsValid[i], this.attachment.getDisposition());
+            attachment.setDisposition(testCharsValid[i]);
+            assertEquals(testCharsValid[i], attachment.getDisposition());
         }
     }
 



Mime
View raw message