]> source.dussan.org Git - poi.git/commitdiff
Fix an api-violations introduced in a test-case
authorDominik Stadler <centic@apache.org>
Fri, 30 Dec 2016 20:35:08 +0000 (20:35 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 30 Dec 2016 20:35:08 +0000 (20:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776633 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java

index bb31656f39b715b4d9dfdcb0974f342f91ece8af..6d3c038b4cc0083466a5b177094fbc1a4f402b3c 100644 (file)
@@ -35,6 +35,6 @@ public class TestSAXHelper {
         assertEquals(SAXHelper.IGNORING_ENTITY_RESOLVER, reader.getEntityResolver());
         assertNotNull(reader.getProperty("http://apache.org/xml/properties/security-manager"));
 
-        reader.parse(new InputSource(new ByteArrayInputStream("<xml></xml>".getBytes())));
+        reader.parse(new InputSource(new ByteArrayInputStream("<xml></xml>".getBytes("UTF-8"))));
     }
 }