commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r963420 - /commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
Date Mon, 12 Jul 2010 18:37:36 GMT
Author: sgoeschl
Date: Mon Jul 12 18:37:36 2010
New Revision: 963420

URL: http://svn.apache.org/viewvc?rev=963420&view=rev
Log:
Remove invocation of deprecated method invocation

Modified:
    commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

Modified: commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java?rev=963420&r1=963419&r2=963420&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java (original)
+++ commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java Mon Jul
12 18:37:36 2010
@@ -228,7 +228,7 @@ public class HtmlEmailTest extends BaseE
         tmpFile.deleteOnExit();
         String fileCid = this.email.embed(tmpFile);
 
-        URL fileUrl = tmpFile.toURL();
+        URL fileUrl = tmpFile.toURI().toURL();
         String urlCid = this.email.embed(fileUrl, "urlName");
 
         assertFalse("file and URL cids should be different even for same resource",
@@ -605,7 +605,7 @@ public class HtmlEmailTest extends BaseE
 
         this.fakeMailServer.stop();
 
-        // validate txt message
+        // validate text message
         validateSend(
             this.fakeMailServer,
             strSubject,



Mime
View raw message