o Added some generics, cleaned up
authorKristian Rosenvold <krosenvold@apache.org>
Wed, 10 Oct 2012 19:51:28 +0000 (19:51 +0000)
committerKristian Rosenvold <krosenvold@apache.org>
Wed, 10 Oct 2012 19:51:28 +0000 (19:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1396763 13f79535-47bb-0310-9956-ffa450edef68

src/test/java/org/apache/maven/shared/io/TestUtils.java

index c1e4835..f6d16e7 100644 (file)
@@ -106,7 +106,7 @@ public final class TestUtils
     {
         StringWriter buffer = new StringWriter();
 
-        Reader reader = ReaderFactory.newXmlReader( file );
+        Reader reader = new XmlStreamReader( file );
 
         IOUtil.copy( reader, buffer );