You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by mw...@apache.org on 2009/01/27 00:13:03 UTC
svn commit: r737929 -
/james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java
Author: mwiederkehr
Date: Mon Jan 26 23:13:03 2009
New Revision: 737929
URL: http://svn.apache.org/viewvc?rev=737929&view=rev
Log:
renamed createImageBodyPart in createImagePart
Modified:
james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java
Modified: james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java?rev=737929&r1=737928&r2=737929&view=diff
==============================================================================
--- james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java (original)
+++ james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java Mon Jan 26 23:13:03 2009
@@ -80,7 +80,7 @@
// second part is image/png (image is created on the fly)
BufferedImage image = renderSampleImage();
- BodyPart imagePart = createImageBodyPart(bodyFactory, image);
+ BodyPart imagePart = createImagePart(bodyFactory, image);
multipart.addBodyPart(imagePart);
// setMultipart also sets the Content-Type header field
@@ -113,7 +113,7 @@
/**
* Creates a binary part from the specified image.
*/
- private static BodyPart createImageBodyPart(BodyFactory bodyFactory,
+ private static BodyPart createImagePart(BodyFactory bodyFactory,
BufferedImage image) throws IOException {
// Create a binary message body from the image
StorageProvider storageProvider = bodyFactory.getStorageProvider();
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org