commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1510640 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/ImageHtmlEmailTest.java
Date Mon, 05 Aug 2013 18:21:22 GMT
Author: britter
Date: Mon Aug  5 18:21:22 2013
New Revision: 1510640

URL: http://svn.apache.org/r1510640
Log:
Use actual generic type parameter

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

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/ImageHtmlEmailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/ImageHtmlEmailTest.java?rev=1510640&r1=1510639&r2=1510640&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/ImageHtmlEmailTest.java
(original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/ImageHtmlEmailTest.java
Mon Aug  5 18:21:22 2013
@@ -441,9 +441,9 @@ public class ImageHtmlEmailTest extends 
         InputStream stream = url.openStream();
         StringBuilder html = new StringBuilder();
         try {
-            List<?> lines = IOUtils.readLines(stream);
+            List<String> lines = IOUtils.readLines(stream);
             for (int i = 0; i < lines.size(); i++) {
-                String line = (String) lines.get(i);
+                String line = lines.get(i);
                 html.append(line).append("\n");
             }
         } finally {



Mime
View raw message