o Further minor fixes
authorKristian Rosenvold <krosenvold@apache.org>
Wed, 10 Oct 2012 20:06:51 +0000 (20:06 +0000)
committerKristian Rosenvold <krosenvold@apache.org>
Wed, 10 Oct 2012 20:06:51 +0000 (20:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1396768 13f79535-47bb-0310-9956-ffa450edef68

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

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