commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r209173 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
Date Tue, 05 Jul 2005 01:29:38 GMT
Author: dion
Date: Mon Jul  4 18:29:37 2005
New Revision: 209173

URL: http://svn.apache.org/viewcvs?rev=209173&view=rev
Log:
Rename parameters so they don't clash with fields

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

Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?rev=209173&r1=209172&r2=209173&view=diff
==============================================================================
--- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
(original)
+++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
Mon Jul  4 18:29:37 2005
@@ -87,19 +87,19 @@
     /**
      * Add a new part to the email.
      *
-     * @param content The content.
-     * @param contentType The content type.
+     * @param partContent The content.
+     * @param partContentType The content type.
      * @return An Email.
      * @throws EmailException see javax.mail.internet.MimeBodyPart
      *  for defintions
      */
-    public Email addPart(String content, String contentType)
+    public Email addPart(String partContent, String partContentType)
         throws EmailException
     {
         MimeBodyPart bodyPart = new MimeBodyPart();
         try
         {
-            bodyPart.setContent(content, contentType);
+            bodyPart.setContent(partContent, partContentType);
             getContainer().addBodyPart(bodyPart);
         }
         catch (MessagingException me)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message