commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1510643 - /commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java
Date Mon, 05 Aug 2013 18:23:26 GMT
Author: britter
Date: Mon Aug  5 18:23:25 2013
New Revision: 1510643

URL: http://svn.apache.org/r1510643
Log:
Remove unnedded assignments

Modified:
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java?rev=1510643&r1=1510642&r2=1510643&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java (original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/MultiPartEmail.java Mon
Aug  5 18:23:25 2013
@@ -525,8 +525,7 @@ public class MultiPartEmail extends Emai
      */
     protected BodyPart createBodyPart()
     {
-        BodyPart bodyPart = new MimeBodyPart();
-        return bodyPart;
+        return new MimeBodyPart();
     }
 
     /**
@@ -536,8 +535,7 @@ public class MultiPartEmail extends Emai
      */
     protected MimeMultipart createMimeMultipart()
     {
-        MimeMultipart mmp = new MimeMultipart();
-        return mmp;
+        return new MimeMultipart();
     }
 
     /**



Mime
View raw message