Skip to content

Commit

Permalink
Checkstyle fixes for the 2.0-M2 release.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@783971 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
hzbarcea committed Jun 12, 2009
1 parent c75ef35 commit 589f60f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Expand Up @@ -18,12 +18,12 @@

import java.util.List;

import org.springframework.beans.factory.DisposableBean;

import org.apache.cxf.BusFactory;
import org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory;
import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;

import org.springframework.beans.factory.DisposableBean;

/**
*
*/
Expand Down
Expand Up @@ -254,13 +254,15 @@ protected void setRecipientFromEndpointConfiguration(MimeMessage mimeMessage, Ma
* Appends the Mail attachments from the Camel {@link MailMessage}
*/
protected void appendAttachmentsFromCamel(MimeMessage mimeMessage, MailConfiguration configuration,
Exchange exchange) throws MessagingException, IOException {
Exchange exchange) throws MessagingException, IOException {

// Put parts in message
mimeMessage.setContent(createMixedMultipartAttachments(configuration, exchange));
}

private MimeMultipart createMixedMultipartAttachments(MailConfiguration configuration, Exchange exchange)
throws MessagingException, IOException {
throws MessagingException, IOException {

// fill the body with text
MimeMultipart multipart = new MimeMultipart();
multipart.setSubType("mixed");
Expand Down Expand Up @@ -362,7 +364,7 @@ protected void createMultipartAlternativeMessage(MimeMessage mimeMessage, MailCo
}

protected void addBodyToMultipart(MailConfiguration configuration, MimeMultipart activeMultipart, Exchange exchange)
throws MessagingException, IOException {
throws MessagingException, IOException {

BodyPart bodyMessage = new MimeBodyPart();
populateContentOnBodyPart(bodyMessage, configuration, exchange);
Expand Down

0 comments on commit 589f60f

Please sign in to comment.