[mule-scm] [mule] [15952] branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java: generics

View: New views
1 Messages — Rating Filter:   Alert me  

[mule-scm] [mule] [15952] branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java: generics

by dirk.olmes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
[mule] [15952] branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java: generics
Revision
15952
Author
dirk.olmes
Date
2009-11-03 11:24:09 -0600 (Tue, 03 Nov 2009)

Log Message

generics

Modified Paths

Diff

Modified: branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java (15951 => 15952)

--- branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java	2009-11-03 17:23:30 UTC (rev 15951)
+++ branches/mule-2.2.x/modules/xml/src/test/java/org/mule/module/xml/util/XMLTestUtils.java	2009-11-03 17:24:09 UTC (rev 15952)
@@ -26,11 +26,11 @@
 
 public class XMLTestUtils
 {
-    public static List getXmlMessageVariants(String resource) throws Exception
+    public static List<?> getXmlMessageVariants(String resource) throws Exception
     {
         XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
         
-        List list = new ArrayList();
+        List<Object> list = new ArrayList<Object>();
         InputStream is;
 
         // java.io.InputStream
@@ -64,5 +64,3 @@
         return list;
     }
 }
-
-


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email