james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwiederk...@apache.org
Subject svn commit: r737929 - /james/mime4j/trunk/examples/src/java/org/apache/james/mime4j/samples/dom/MultipartMessage.java
Date Mon, 26 Jan 2009 23:13:03 GMT
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


Mime
View raw message