Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 53818 invoked from network); 5 Jul 2005 01:29:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2005 01:29:45 -0000 Received: (qmail 17218 invoked by uid 500); 5 Jul 2005 01:29:41 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 17194 invoked by uid 500); 5 Jul 2005 01:29:41 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 17181 invoked by uid 500); 5 Jul 2005 01:29:41 -0000 Received: (qmail 17177 invoked by uid 99); 5 Jul 2005 01:29:41 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 Jul 2005 18:29:41 -0700 Received: (qmail 53769 invoked by uid 65534); 5 Jul 2005 01:29:38 -0000 Message-ID: <20050705012938.53768.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commons-cvs@jakarta.apache.org From: dion@apache.org X-Mailer: svnmailer-1.0.2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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